metrics

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	PacketsAcceptedTotal  *prometheus.CounterVec
	PacketsDroppedTotal   *prometheus.CounterVec
	PacketsProcessedTotal prometheus.Counter
	ErrorsTotal           *prometheus.CounterVec
	RateLimiterCacheStats *stats.Counter
}

func Get

func Get() *Metrics

func (*Metrics) Register

func (m *Metrics) Register(reg *prometheus.Registry)

Jump to

Keyboard shortcuts

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