metrics

package
v0.0.0-...-c9430d2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArpResolveError = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_peer_arp_resolve_error",
	Help: "Number of ARP resolution errors per peer",
}, []string{"node", "peer"})
View Source
var CallbackDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
	Name:    "go_pmtud_callback_duration_seconds",
	Buckets: []float64{0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09},
	Help:    "Duration of NFlog callback in seconds",
}, []string{"node"})
View Source
var Error = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_error_total",
	Help: "Number of general errors in go-pmtud",
}, []string{"node"})
View Source
var RecvPackets = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_recv_packets_total",
	Help: "Number of received ICMP packets",
}, []string{"node", "source_ip"})
View Source
var SentError = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_sent_error_peer_total",
	Help: "Number of errors per peer",
}, []string{"node", "peer"})
View Source
var SentPackets = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_sent_packets_total",
	Help: "Number of sent ICMP packets",
}, []string{"node"})
View Source
var SentPacketsPeer = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "go_pmtud_sent_packets_peer",
	Help: "Number of sent ICMP packets per peer",
}, []string{"node", "peer"})

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