ringbufmetrics

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL