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

StatsD: support negative counter values or allow suppressing of error logging #1898

Closed
JakobFels opened this issue Oct 14, 2016 · 0 comments · Fixed by #2181
Closed

StatsD: support negative counter values or allow suppressing of error logging #1898

JakobFels opened this issue Oct 14, 2016 · 0 comments · Fixed by #2181
Assignees
Milestone

Comments

@JakobFels
Copy link

Hello,
I'm using telegraf as a StatsD backend and my application frequently logs negative counter values, eg. foo:-1|c.
I do not particularly depend on these values being supported, but my log files grow rapidly because telegraf keeps logging Error: +- values are only supported for gauges: foo:-1|c.

Can this log message be suppressed, or alternatively, can negative counters be supported?

@JakobFels JakobFels changed the title StatsD: support negative counter values or allow superssing of error logging StatsD: support negative counter values or allow suppressing of error logging Oct 14, 2016
@sparrc sparrc added this to the 1.2.0 milestone Oct 14, 2016
sparrc added a commit that referenced this issue Dec 20, 2016
njwhite pushed a commit to njwhite/telegraf that referenced this issue Jan 31, 2017
maxunt pushed a commit that referenced this issue Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants