Documentation ¶
Overview ¶
Package metrics defines and exports router metrics to be scraped by prometheus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // High-level input stats InputPkts *prometheus.CounterVec InputBytes *prometheus.CounterVec InputPktSize *prometheus.HistogramVec // High-level output stats OutputPkts *prometheus.CounterVec OutputBytes *prometheus.CounterVec OutputPktSize *prometheus.HistogramVec // Low-level input stats InputReads *prometheus.CounterVec InputReadErrors *prometheus.CounterVec InputRcvOvfl *prometheus.GaugeVec InputLatency *prometheus.CounterVec // Low-level output stats OutputWrites *prometheus.CounterVec OutputWriteErrors *prometheus.CounterVec OutputWriteLatency *prometheus.CounterVec // Processing metrics ProcessPktTime *prometheus.CounterVec ProcessSockSrcDst *prometheus.CounterVec // Misc IFState *prometheus.GaugeVec )
Declare prometheus metrics to export.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.