mapmetrics

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MapSize = metrics.MustNewCustomGauge(metrics.NewOpts(
		consts.MetricsNamespace, "", "map_entries",
		"The total number of in-use entries per map.",
		nil, []metrics.ConstrainedLabel{MapLabel}, nil,
	))
	MapCapacity = metrics.MustNewCustomGauge(metrics.NewOpts(
		consts.MetricsNamespace, "", "map_capacity",
		"Capacity of a BPF map. Expected to be constant.",
		nil, []metrics.ConstrainedLabel{MapLabel}, nil,
	))
	MapErrors = metrics.MustNewCustomGauge(metrics.NewOpts(
		consts.MetricsNamespace, "", "map_errors_total",
		"The number of errors per map.",
		nil, []metrics.ConstrainedLabel{MapLabel}, nil,
	))
)
View Source
var MapLabel = metrics.ConstrainedLabel{
	Name: "map",

	Values: []string{"execve_map", "tg_execve_joined_info_map"},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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