metrics

package
v0.0.0-...-015fd0a Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricINFNamespace     = "ingressnodefirewall"
	MetricINFSubsystemNode = "node"
)

Variables

This section is empty.

Functions

func GetPrometheusStatisticNames

func GetPrometheusStatisticNames() []string

GetPrometheusStatisticNames returns all statistic metric names - to aid testing only.

Types

type Statistics

type Statistics struct {
	// contains filtered or unexported fields
}

func NewStatistics

func NewStatistics(pollPeriod string) (*Statistics, error)

func (*Statistics) Register

func (m *Statistics) Register()

func (*Statistics) StartPoll

func (m *Statistics) StartPoll(statsMap *ebpf.Map)

func (*Statistics) StopPoll

func (m *Statistics) StopPoll()

Jump to

Keyboard shortcuts

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