Documentation ¶
Index ¶
- Variables
- func GetProcessInfo(process *tetragon.Process) (binary, pod, workload, namespace string)
- func InitEventsMetrics(registry *prometheus.Registry)
- func InitEventsMetricsForDocs(registry *prometheus.Registry)
- func InitHealthMetrics(registry *prometheus.Registry)
- func NewBPFCollector() prometheus.Collector
- func NewBPFZeroCollector() prometheus.Collector
- func ProcessEvent(originalEvent interface{}, processedEvent interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventsProcessed = metrics.MustNewGranularCounter[metrics.ProcessLabels](prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "events_total", Help: "The total number of Tetragon events", ConstLabels: nil, }, []string{"type"}) MissedEvents = metrics.NewBPFCounter(prometheus.NewDesc( prometheus.BuildFQName(consts.MetricsNamespace, "", "missed_events_total"), "The total number of Tetragon events per type that are failed to sent from the kernel.", []string{"msg_op"}, nil, )) 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 InitEventsMetrics ¶ added in v1.1.0
func InitEventsMetrics(registry *prometheus.Registry)
func InitEventsMetricsForDocs ¶ added in v1.1.0
func InitEventsMetricsForDocs(registry *prometheus.Registry)
func InitHealthMetrics ¶ added in v1.1.0
func InitHealthMetrics(registry *prometheus.Registry)
func NewBPFCollector ¶ added in v1.0.1
func NewBPFCollector() prometheus.Collector
func NewBPFZeroCollector ¶ added in v1.1.0
func NewBPFZeroCollector() prometheus.Collector
func ProcessEvent ¶
func ProcessEvent(originalEvent interface{}, processedEvent interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.