Time-aware meters #8121
BFergerson
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
I think how to save counter depending on MAL engine. For counter, in best practice, it is recommended to use rate function to calculate the increasement, and then use sum/avg to get final result. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Meters appear to be only as granular as the
Config.Meter.REPORT_INTERVAL
. This means if you create a meter, like a counter, and trigger it once per second, what actually gets saved is a count of90
per minute time bucket. Since I'm triggering something that occurs once per second, I'd expect the count per minute to be60
.I'm curious if anyone has any alternative solutions.
Changing
Config.Meter.REPORT_INTERVAL
to1
is likely to work, but would be obviously inefficient.Beta Was this translation helpful? Give feedback.
All reactions