Documentation ¶
Overview ¶
Package metrics publishes information about SIG operation NOTE(all): Work in progress, do not recommend reviewing this code yet
Index ¶
Constants ¶
View Source
const Namespace = "sig"
Namespace is the metrics namespace for the SIG.
Variables ¶
View Source
var ( PktUnroutable prometheus.Counter 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 SessionTimedOut *prometheus.CounterVec SessionPathSwitched *prometheus.CounterVec SessionOldPollReplies *prometheus.CounterVec SessionProbes *prometheus.CounterVec SessionProbeReplies *prometheus.CounterVec SessionProbeRTT *prometheus.HistogramVec SessionPaths *prometheus.GaugeVec SessionMTU *prometheus.GaugeVec SessionHealth *prometheus.GaugeVec SessionRemoteSwitched *prometheus.CounterVec EgressRxQueueFull *prometheus.CounterVec )
Declare prometheus metrics to export.
View Source
var ConfigVersion uint64
Version number of loaded config, atomic
Functions ¶
This section is empty.
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.