stats

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NFStartCount  *prometheus.CounterVec
	NFStopCount   *prometheus.CounterVec
	NFUpdateCount *prometheus.CounterVec
	NFRunning     *prometheus.GaugeVec
	NFStartTime   *prometheus.GaugeVec
	NFMointorMap  *prometheus.GaugeVec
)

Functions

func Incr

func Incr(counterVec *prometheus.CounterVec, networkFunction, direction string)

func Set

func Set(value float64, gaugeVec *prometheus.GaugeVec, networkFunction, direction string)

func SetValue

func SetValue(value float64, gaugeVec *prometheus.GaugeVec, networkFunction, mapName string)

func SetupMetrics

func SetupMetrics(hostname, daemonName, metricsAddr string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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