How to get rid of stale datapoints in case of Gauge #3688
Unanswered
killerbot242
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A Gauge is using the "last value aggregation", when using the async version, when the callback is called, we can provide a measurement value together with attributes.
We use the attributes for different purposes:
What we noticed is the moment an attribute changes (or a attribute gets added), the old situation (with the old attribute value and old measurement, or without the new attributed) keeps being reported, so we end up with an ever increasing set of datapoints, where the old ones are to be considered obsolete and should just die.
In the dynamic case, we will always report all of the existing instances, the fact we no longer mention a given instance means it is gone, it has passed on, it died ;-)
How can this be achieved ?
Beta Was this translation helpful? Give feedback.
All reactions