Counter is the most common synchronous instrument. This instrument supports
Add(increment) function for reporting a sum, and is restricted to
non-negative increments. The default aggregation is Sum, as for any additive
Example uses for Counter:
Adds the given value to the current value. Values cannot be negative.
Returns a Instrument associated with specified Labels. It is recommended to keep a reference to the Instrument instead of always calling this method for every operations.
key-values pairs that are associated with a specific metric that you want to record.
Clears all bound instruments from the Metric.
Removes the Instrument from the metric, if it is present.
key-values pairs that are associated with a specific metric.