Documentation ¶
Index ¶
Constants ¶
View Source
const ( CanopsisEvent = "cps_event" FIFOEvent = "fifo_event" CheEvent = "che_event" AxeEvent = "axe_event" CorrelationEvent = "correlation_event" ServiceEvent = "service_event" DynamicInfosEvent = "dynamic_infos_event" ActionEvent = "action_event" FIFOQueue = "fifo_queue" AxePeriodical = "axe_periodical" PBehaviorPeriodical = "pbehavior_periodical" CheInfos = "che_infos" ApiRequests = "api_requests" CorrelationRetries = "correlation_retries" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRequestMetric ¶
type AxeEventMetric ¶
type AxeEventMetric struct { EventMetric EntityType string AlarmChangeType string }
type AxePeriodicalMetric ¶
type AxePeriodicalMetric struct { PeriodicalMetric Events int64 }
type CheEventMetric ¶
type CheEventMetric struct { EventMetric EntityType string IsNewEntity bool IsInfosUpdated bool IsServicesUpdated bool }
type EventMetric ¶
type PbehaviorPeriodicalMetric ¶
type PbehaviorPeriodicalMetric struct { PeriodicalMetric Events int64 Entities int64 Pbehaviors int64 }
type Sender ¶
type Sender interface { Run(ctx context.Context) SendSimpleEvent(metricName string, metric EventMetric) SendQueue(metricName string, timestamp time.Time, length int64) SendCheEntityInfo(timestamp time.Time, name string) SendCheEvent(metric CheEventMetric) SendAxePeriodical(metric AxePeriodicalMetric) SendAxeEvent(metric AxeEventMetric) SendPBehaviorPeriodical(metric PbehaviorPeriodicalMetric) SendApiRequest(metric ApiRequestMetric) SendCorrelationRetries(metric CorrelationRetriesMetric) }
Click to show internal directories.
Click to hide internal directories.