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

OTEL histogram contains two infs #870

Closed
andrzejressel opened this issue Aug 9, 2024 · 0 comments · Fixed by #871
Closed

OTEL histogram contains two infs #870

andrzejressel opened this issue Aug 9, 2024 · 0 comments · Fixed by #871

Comments

@andrzejressel
Copy link
Contributor

andrzejressel commented Aug 9, 2024

When using boundaries fromChunk, Double.MaxValue is added to the end. But OTEL already adds inf. This causes two inf - one is native "inf" and second is just boundary with Double.MaxValue.

Test works because I've used default constructor. It should be changed to fromChunk factory instead.

While histogram can be workarounded by using default Histogram constructor, timer cannot be fixed.

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