Documentation ¶
Index ¶
- Variables
- func Incr(counterVec *prometheus.CounterVec, networkFunction, direction string)
- func Set(value float64, gaugeVec *prometheus.GaugeVec, ...)
- func SetValue(value float64, gaugeVec *prometheus.GaugeVec, networkFunction, mapName string)
- func SetupMetrics(hostname, daemonName, metricsAddr string)
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.
Click to show internal directories.
Click to hide internal directories.