Decrement gauge
Object with label keys and values
Optional value: numberValue to decrement with
Optional Decrement gauge
Optional value: numberThe value to decrement with
Optional Increment gauge for given labels
Object with label keys and values
Optional value: numberThe value to increment with
Optional Increment gauge
Optional value: numberThe value to increment with
Optional Return the child for given labels
Rest ...values: string[]Label values
Rest Configured gauge with given labels
Return the child for given labels
Object with label keys and values
Configured counter with given labels
Start a timer. Calling the returned function will set the gauge's value to the observed duration in seconds.
Optional labels: Partial<Record<T, string | number>>Object with label keys and values
Optional Function to invoke when timer should be stopped. The value it returns is the timed duration.
Start a timer. Calling the returned function will set the gauge's value to the observed duration in seconds.
Optional labels: Partial<Record<T, string | number>>Object with label keys and values
Optional Function to invoke when timer should be stopped. The value it returns is the timed duration.
Generated using TypeDoc
A gauge is a metric that represents a single numerical value that can arbitrarily go up and down.