Documentation ¶
Index ¶
- Constants
- type ActionEventMetric
- type ApiRequestMetric
- type AxeEventMetric
- type AxePeriodicalMetric
- type CheEventMetric
- type CorrelationEventMetric
- type CorrelationRetriesMetric
- type CpsEventMetric
- type DynamicInfoEventMetric
- type EventMetric
- type FifoEventMetric
- type PbehaviorPeriodicalMetric
- type PeriodicalMetric
- type Sender
Constants ¶
View Source
const ( CanopsisEvent = "cps_event" FIFOEvent = "fifo_event" CheEvent = "che_event" AxeEvent = "axe_event" CorrelationEvent = "correlation_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" GoMetrics = "go_metrics" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionEventMetric ¶
type ActionEventMetric struct { EventMetric ExecutedRules int64 ExecutedWebhooks int64 }
type ApiRequestMetric ¶
type AxeEventMetric ¶
type AxeEventMetric struct { EventMetric EntityType string AlarmChangeType string IsOkState *bool IsCountersUpdated bool }
type AxePeriodicalMetric ¶
type AxePeriodicalMetric struct { PeriodicalMetric Events int64 IdleEvents int64 }
type CheEventMetric ¶
type CorrelationEventMetric ¶
type CorrelationEventMetric struct { EventMetric MatchedRuleCount int64 MatchedRuleTypes []string }
type CorrelationRetriesMetric ¶
type CpsEventMetric ¶
type CpsEventMetric struct { EventMetric IsOkState *bool }
type DynamicInfoEventMetric ¶
type DynamicInfoEventMetric struct { EventMetric ExecutedRules int64 }
type EventMetric ¶
type FifoEventMetric ¶
type FifoEventMetric struct { EventMetric ExternalRequests map[string]int64 }
type PbehaviorPeriodicalMetric ¶
type PbehaviorPeriodicalMetric struct { PeriodicalMetric Events int64 Entities int64 Pbehaviors int64 }
type Sender ¶
type Sender interface { Run(ctx context.Context) SendFifoEvent(metric FifoEventMetric) SendCpsEvent(metric CpsEventMetric) 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) SendCorrelationEvent(metric CorrelationEventMetric) SendCorrelationRetries(metric CorrelationRetriesMetric) SendDynamicInfosEvent(metric DynamicInfoEventMetric) SendActionEvent(metric ActionEventMetric) }
Click to show internal directories.
Click to hide internal directories.