metrics
metrics copied to clipboard
Add function to reset histogram metric
There's counter:reset() which sets the value of a counter metric to zero. It'd be useful to also have histogram:reset(), which would set values of all histogram buckets as well as the sum and count to zeros.