Type Definition prometheus_endpoint::SourcedCounter[][src]

type SourcedCounter<S> = SourcedMetric<Counter, S>;

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 a SourcedGauge instead.