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

[exporter/signalfx] attempts to divide by zero during translation are logged as warnings #12969

Closed
pmcollins opened this issue Aug 4, 2022 · 1 comment
Assignees
Labels
bug Something isn't working exporter/signalfx priority:p2 Medium

Comments

@pmcollins
Copy link
Member

Describe the bug
The SignalFx exporter can produce noisy log entries about translation rules finding a zero in the denominator in what would be a division operation. The operation is skipped, so no spurious values are actually created, but the warning that gets logged has been reported to be a hindrance that is not actionable to users.

Steps to reproduce
Unable to reproduce organically, but if you send cpu utilization counter metrics whose aggregate value doesn't change into the collector with default SFx translation rules, the translator will calculate a delta of zero of total cpu time available, and cause an attempt to divide by zero, causing the warning to get logged.

What did you expect to see?
The event to be logged at a lower level.

What did you see instead?
The event was logged at a warning level.

What version did you use?
0.56.0

What config did you use?
A vanilla/default config for the SFx exporter.

Environment
Debian 11

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2022

Pinging code owners: @pmcollins @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/signalfx priority:p2 Medium
Projects
None yet
Development

No branches or pull requests

3 participants