package
0.12.0
Repository: https://github.com/scionproto/scion.git
Documentation: pkg.go.dev

# Functions

CounterAdd increases the passed in counter by the amount specified.
CounterInc increases the passed in counter by 1.
CounterValue extracts the value out of a TestCounter.
GaugeAdd increases the passed in gauge by the amount specified.
GaugeInc increases the passed in gauge by 1.
GaugeSet sets the passed in gauge to the value specified.
GaugeSetCurrentTime sets the passed gauge to the current time.
GaugeSetTimestamp sets the passed gauge to the specified time stamp.
GaugeValue extracts the value out of a TestGauge.
HistogramObserve adds an observation to the histogram.
NewTestCounter creates a new counter for use in tests.
NewTestGauge creates a new gauge for use in tests.

# Structs

TestCounter implements a counter for use in tests.
TestGauge implements a gauge for use in tests.

# Interfaces

Counter describes a metric that accumulates values monotonically.
Gauge describes a metric that takes specific values over time.
Histogram describes a metric that takes repeated observations of the same kind of thing, and produces a statistical summary of those observations, typically expressed as quantiles or buckets.