Return the child for given labels
Rest ...values: string[]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
Rest ...values: string[]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.
Optional labels: Partial<Record<T, string | number>>Object with label keys and values
Function to invoke when timer should be stopped. The value it returns is the timed duration.
Optional labels: Partial<Record<T, string | number>>Initialize the metrics for the given combination of labels to zero
A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets