A small helper object that counts into buckets the number of calls to its
bumpthat fall into three age categories; ages within an hour, within a day or within seven days. Counts are maintained within the object, and can be fetched to set into a gauge metric object. This class is useful when exporting metrics that count the number of hourly/daily/weekly active instances of various types of object within the bridge.
Increment the values of the internal counters depending on the given age, in seconds.
||Number||The age in seconds.|
Fetch the counts in the age buckets and set them as labeled observations in the given gauge metric instance.
||Gauge||The gauge metric instance.|
||Object||An object containing more labels to add to the gauge when setting values.|