Type Alias substrate_prometheus_endpoint::SourcedCounter
source · pub type SourcedCounter<S> = SourcedMetric<Counter, S>;
Expand description
A counter whose values are obtained from an existing source.
*Note: The counter values provided by the source
S
must be monotonically increasing. Otherwise use aSourcedGauge
instead.
Aliased Type§
struct SourcedCounter<S> { /* private fields */ }