metrics

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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