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

[pkg/otlp/metrics] Fix empty exponential histogram mapping #158

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Aug 29, 2023

@mx-psi mx-psi marked this pull request as ready for review August 29, 2023 11:14
@mx-psi mx-psi requested a review from a team as a code owner August 29, 2023 11:14
@mx-psi mx-psi requested a review from dineshg13 August 29, 2023 11:14
@@ -151,6 +151,7 @@ func (t *Translator) mapExponentialHistogramMetrics(
zap.String("metric name", dims.name),
zap.Error(err),
)
continue
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix, we were not skipping the point when the quantile package errored out

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mx-psi mx-psi merged commit 460201f into main Aug 29, 2023
7 checks passed
@mx-psi mx-psi deleted the mx-psi/emptyexpohisto branch August 29, 2023 18:37
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 this pull request may close these issues.

Datadog panic's and OTEL collector crashes for empty ExponentialHistogram
2 participants