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

Histogram bounds must be validated #2566

Closed
cijothomas opened this issue Nov 5, 2021 · 3 comments · Fixed by #2573
Closed

Histogram bounds must be validated #2566

cijothomas opened this issue Nov 5, 2021 · 3 comments · Fixed by #2573
Assignees
Labels
metrics Metrics signal related
Milestone

Comments

@cijothomas
Copy link
Member

cijothomas commented Nov 5, 2021

Similar to instrument/view name, we need to validate the custom bounds (no duplicates, increasing order etc.), if provided.
If we can fail-fast, do that. - done in #2573
Else log and move on.

@cijothomas
Copy link
Member Author

#3117 and #3120 addressed the "log and move-on" part.

@cijothomas
Copy link
Member Author

Closing as this is handled. If there are follow up, @mic-max please share here.

@mic-max
Copy link
Contributor

mic-max commented Apr 13, 2022

Closing as this is handled. If there are follow up, @mic-max please share here.

https://github.com/open-telemetry/opentelemetry-dotnet/pull/3117/files#r849928032 Just this one case where double.NaN could be used as a boundary. I'll make a PR adding some tests extracted from #2592 to this as well since they should still be beneficial

Created an issue to track: #3171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Metrics signal related
Projects
None yet
2 participants