Provide ability for additional "trip" meter alongside the existing "odometer" for cumulative stats metrics #91059
Labels
:Data Management/Stats
Statistics tracking and retrieval APIs
>enhancement
Team:Data Management
Meta label for data/management team
Description
When trying to work out if some counted failures or events are recent or not takes multiple polls to run a difference against or a jvm restart to zero out all the counters.
It's hard to tell initially if a high count is because one node has a larger uptime or of that node is doing something different to others.
If we could have the ability to have just one separate (or customizable) additional counters associated with existing ones, that can be either deleted/recreated or just reset to zero with an an associated age/timestamp of when the last reset was triggered, this would give us an idea of a "trip" meter vs an "odometer" for particular counters.
This might be useful for:
eg for ingest pipeline stats:
They currently look like:
If you had just one other counter or however many custom cumulative counters as subsets of the parent counter type:
eg using meta fields to record whatever additional meta detail perhaps.
Then some way to reset or overwrite to reset the counters.
It means the metrics are still not doing aggs/combinations, so they're not calculated metrics which we generally want to avoid at foundational metrics level, and are still just plain counters, doing the same metrics/counts as the parent counter they're created under.
The text was updated successfully, but these errors were encountered: