Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventsProcessed = metrics.MustNewGranularCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "events_total", Help: "The total number of Tetragon events", ConstLabels: nil, }, []string{"type"}) FlagCount = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "flags_total", Help: "The total number of Tetragon flags. For internal use only.", ConstLabels: nil, }, []string{"type"}) NotifyOverflowedEvents = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "notify_overflowed_events_total", Help: "The total number of events dropped because listener buffer was full", ConstLabels: nil, }) )
Functions ¶
func GetProcessInfo ¶
func InitMetrics ¶ added in v0.11.0
func InitMetrics(registry *prometheus.Registry)
func ProcessEvent ¶
func ProcessEvent(originalEvent interface{}, processedEvent interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.