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

Add http.flavor and http.user_agent to list of deprecated attributes #503

Merged
merged 2 commits into from
Nov 12, 2023

Conversation

trask
Copy link
Member

@trask trask commented Nov 10, 2023

From slack discussion: https://cloud-native.slack.com/archives/C041APFBYQP/p1699627498067499?thread_ts=1699574431.891249&cid=C041APFBYQP

Changes

Adds http.flavor and http.user_agent to list of deprecated attributes.

These were already deprecated in v1.20.0 and so didn't make it into the deprecated attributes list, but I think it's good to list them, and will help with instrumentations implementing OTEL_SEMCONV_STABILITY_OPT_IN who are upgrading from earlier semconv than v1.20.0.

Merge requirement checklist

@trask trask marked this pull request as ready for review November 10, 2023 14:54
@trask trask requested review from a team as code owners November 10, 2023 14:54
@AlexanderWert AlexanderWert merged commit cfdcc9e into open-telemetry:main Nov 12, 2023
9 checks passed
@@ -67,11 +67,24 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin
<!-- semconv attributes.http.deprecated(omit_requirement_level) -->
| Attribute | Type | Description | Examples |
|---|---|---|---|
| `http.flavor` | string | Deprecated, use `network.procol.name` instead. | `1.0` |
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a misspelling procol instead of protocol

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for catching this! I'll send a fix

@trask trask deleted the add-deprecated-attrs branch November 13, 2023 15:02
@trask trask mentioned this pull request Nov 13, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants