Module prometheus::local
source · Expand description
Unsync local metrics, provides better performance.
Structs
Auto flush-able local counter
Auto flush-able local counter
An unsync
Histogram
.An unsync
HistogramTimer
.An unsync
HistogramVec
.Traits
Delegator for auto flush-able local counter
For auto_flush::AFLocalCounter to use to make type inference possible
Delegator for auto flush-able local counter
An interface models a Metric only usable in single thread environment.
An interface models a LocalMetric with try to flush functions.
Not intend to be implemented by user manually, used in macro generated code.
Type Definitions
An unsync
Counter
.An unsync
CounterVec
.The integer version of
LocalCounter
. Provides better performance
are all positive integers (natural numbers).The integer version of
LocalCounterVec
.
Provides better performance if metric values are all positive
integers (natural numbers).