Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchEntities ¶
func MatchEntities(data []*sdk.EntityData, schemaFileByJobByType map[string]EventTypeToSchemaFilename, schemasDir string) error
MatchEntities matches metric sets of entities against a set of JSON schema for each event type.
func MatchIntegration ¶
func MatchIntegration(o *sdk.IntegrationProtocol2) error
MatchIntegration matches an integration against a JSON schema defined for an Infrastructure Integration.
Types ¶
type ErrMatch ¶
type ErrMatch struct {
// contains filtered or unexported fields
}
ErrMatch is the error that Match function returns
type EventTypeToSchemaFilename ¶
EventTypeToSchemaFilename maps event types with their json schema.
Click to show internal directories.
Click to hide internal directories.