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

Update semconv to 1.21.0, PART 2 - HTTP #9372

Merged
merged 2 commits into from
Sep 7, 2023
Merged

Update semconv to 1.21.0, PART 2 - HTTP #9372

merged 2 commits into from
Sep 7, 2023

Conversation

trask
Copy link
Member

@trask trask commented Sep 3, 2023

Splitting #9370 this up into smaller pieces for review. Once the parts are approved, I will merge them into a single PR, with one commit per part, and send any additional final commits if needed to make CI happy.

I think this PR can stand alone and pass CI and be merged independently from #9370.

@trask trask requested a review from a team September 3, 2023 02:52
@@ -64,7 +64,7 @@ private static <T> void addKey(
@SuppressWarnings("unchecked")
public static <T> AttributeKey<T> getAttributeKey(AttributeKey<T> oldKey) {
if (SemconvStability.emitStableHttpSemconv()) {
return (AttributeKey<T>) oldToNewMap.getOrDefault(oldKey, oldKey);
return (AttributeKey<T>) oldToNewMap.get(oldKey);
Copy link
Member Author

Choose a reason for hiding this comment

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

just to be more strict

@trask trask merged commit cc4e1bf into open-telemetry:main Sep 7, 2023
45 checks passed
@trask trask deleted the semconv-1.21-http branch September 7, 2023 15:25
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.

2 participants