Generic Unlabeled Counter
Generic Unlabeled Counter
It is necessary to apply a value of type A
to this
counter to be able to take any measurements.
Constructor for a labelled Counter.
Constructor for a labelled Counter.
This generates a specific number of labels via Sized
, in combination with a function
to generate an equally Sized
set of labels from some type. Values are applied by position.
This counter needs to have a label applied to the UnlabelledCounter in order to be measureable or recorded.
CollectorRegistry this Counter will be registred with
The name of the Counter - By convention, the names of Counters are suffixed by _total
.
The help string of the metric
The name of the labels to be applied to this metric
Function to take some value provided in the future to generate an equally sized list of strings as the list of labels. These are assigned to labels by position.
Constructor for a Counter with no labels.
Constructor for a Counter with no labels.
CollectorRegistry this Counter will be registered with
The name of the Counter - By convention, the names of Counters are suffixed by _total
.
The help string of the metric
Counter Constructors, and Unsafe Counter Access