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

Avoid excessive, frequent, repetitive logging of metrics value-range errors #271

Closed
jmacd opened this issue Sep 2, 2022 · 0 comments · Fixed by #272
Closed

Avoid excessive, frequent, repetitive logging of metrics value-range errors #271

jmacd opened this issue Sep 2, 2022 · 0 comments · Fixed by #272

Comments

@jmacd
Copy link
Member

jmacd commented Sep 2, 2022

Is your feature request related to a problem? Please describe.
When a user of the Metrics SDK uses NaN, Inf values, or for Histogram and Counter instruments negative values, the OTel SDK calls to error handler. The Lightstep metrics SDK should not do this every time, as it is not helpful to the user.

Describe the solution you'd like
The recently-added doevery package provides a good solution, we can use it here.

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.

1 participant