Histogram
A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets
§Constructors
Configuration when creating the Histogram. Name and Help is mandatory
§Methods
Return the child for given labels
Label values
Configured histogram with given labels
Return the child for given labels
Object with label keys and values
Configured counter with given labels
Observe value
The value to observe
Observe value for given labels
Object with label keys and values
The value to observe
Remove metrics for the given label values
Label values
Remove metrics for the given label values
Object with label keys and values
Start a timer. Calling the returned function will observe the duration in seconds in the histogram.
Object with label keys and values
Function to invoke when timer should be stopped. The value it returns is the timed duration.