Documentation ¶
Overview ¶
Package metrics publishes information about SIG operation NOTE(all): Work in progress, do not recommend reviewing this code yet
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PktsRecv *prometheus.CounterVec PktsSent *prometheus.CounterVec PktBytesRecv *prometheus.CounterVec PktBytesSent *prometheus.CounterVec FramesRecv *prometheus.CounterVec FramesSent *prometheus.CounterVec FrameBytesRecv *prometheus.CounterVec FrameBytesSent *prometheus.CounterVec FrameDiscardEvents prometheus.Counter FramesDiscarded prometheus.Counter FramesTooOld prometheus.Counter FramesDuplicated prometheus.Counter )
Declare prometheus metrics to export.
View Source
var ConfigVersion uint64
Version number of loaded config, atomic
Functions ¶
Types ¶
type CtrPair ¶
type CtrPair struct { Pkts prometheus.Counter Bytes prometheus.Counter }
CtrPair is a pair of counters, one for packets and one for bytes.
type CtrPairKey ¶
type CtrPairKey struct { RemoteIA addr.IAInt SessId mgmt.SessionType }
Click to show internal directories.
Click to hide internal directories.