Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PerfEventReceived = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "ringbuf_perf_event_received_total", Help: "The total number of Tetragon ringbuf perf events received.", ConstLabels: nil, }) PerfEventLost = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "ringbuf_perf_event_lost_total", Help: "The total number of Tetragon ringbuf perf events lost.", ConstLabels: nil, }) PerfEventErrors = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "ringbuf_perf_event_errors_total", Help: "The total number of errors when reading the Tetragon ringbuf.", ConstLabels: nil, }) )
Functions ¶
func InitMetrics ¶ added in v0.11.0
func InitMetrics(registry *prometheus.Registry)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.