[][src]Type Definition substrate_prometheus_endpoint::SourcedCounter

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.