Incremental and absolute metrics and missing finalizers #25049
Unanswered
johannesfloriangeiger
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
In the scope of #24655 I came across something I am not entirely clear about: Various metric sinks are normalizing metrics by transforming absolute into incremental or vice versa, specifically the AWS CloudWatch Metric sink transforms absolute counters into incremental ones - but that leads to the Buffer of the Sink not clearing up as the first absolute counter will be dropped (i.e., creating the baseline) and only the follow up counters then get emitted as increments compared with the baseline. A solution is to manually mark the finalizers of the dropped metrics as "Delivered" in the Sink but my confusion comes from the fact that I don't see other metric sinks having a similar logic in place, instead they just normalize metrics and can somehow deal with the dropped metric.
So, how do the other sinks are dealing with that, is the AWS CloudWatch Metric sink perhaps outdated or uses a deprecated mechanism?
Vector Config
Vector Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions