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

Emit both old and new metrics under dup setting #9320

Merged
merged 6 commits into from
Aug 30, 2023

Conversation

trask
Copy link
Member

@trask trask commented Aug 28, 2023

Comment on lines 56 to 57
createDurationHistogram(
meter, "http.client.request.duration", "The duration of the outbound HTTP request");
Copy link
Member

Choose a reason for hiding this comment

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

I think you'll also need to change the condition on which the advice is applied: right now the buckets are not set if emitOldHttpSemconv is true, and that does not really make sense when we split the histograms.

Copy link
Member

Choose a reason for hiding this comment

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

(just making sure: missing commit?)

Copy link
Member Author

Choose a reason for hiding this comment

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

🙈

@trask trask enabled auto-merge (squash) August 30, 2023 16:33
@trask trask merged commit e243da4 into open-telemetry:main Aug 30, 2023
46 checks passed
@trask trask deleted the dup-http-metrics branch August 30, 2023 18:05
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.

None yet

2 participants