Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We send absolute counters to statsd as incremental counters #9718

Closed
jszwedko opened this issue Oct 20, 2021 · 1 comment
Closed

We send absolute counters to statsd as incremental counters #9718

jszwedko opened this issue Oct 20, 2021 · 1 comment
Labels
sink: statsd Anything `statsd` sink related type: bug A code related bug.

Comments

@jszwedko
Copy link
Member

A user reported they were seeing their kafka sink internal metrics continuously increasing even when there was no traffic going into the source. They are sending their metrics to statsd over UDP. I setup nc to listen for the statsd messages and I can see that it is continuously publishing the absolute counter like:

vector.kafka_requests_bytes_total:66|c

As statsd only allows for incremental counters, it is interpreting this to mean it should increase the counter by the absolute value each time.

@jszwedko jszwedko added type: bug A code related bug. sink: statsd Anything `statsd` sink related labels Oct 20, 2021
@jszwedko jszwedko self-assigned this Oct 20, 2021
@jszwedko jszwedko added this to the Vector 0.18.0 milestone Oct 20, 2021
@jszwedko jszwedko removed this from the Vector 0.18.0 milestone Dec 1, 2021
@jszwedko jszwedko removed their assignment Jan 20, 2022
@jszwedko
Copy link
Member Author

Closed by #16199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sink: statsd Anything `statsd` sink related type: bug A code related bug.
Projects
None yet
Development

No branches or pull requests

1 participant