mikejihbe / metrics

A metrics library for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meter.clear() missing and Timer.clear() does not clear underlying Meter

tolbertam opened this issue · comments

Meter lacks a clear method that other metric types have.

Timer.clear() clears the underlying Histogram, but not the underlying Meter.

Looking into this further, even having clear doesn't seem right. Clearing a meter seems somewhat difficult too..will think on this more.