-
Notifications
You must be signed in to change notification settings - Fork 703
opentelemetry-sdk: use stable code attributes #4508
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
Conversation
Instead of using the deprecated use latest release candidate code attributes. While at it stop using SpanAttributes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since code semconv is in Release Candidate
status, I'm good with the change.
https://opentelemetry.io/docs/specs/semconv/code/
Existing code instrumentations that are using v1.29.0 of code conventions (or prior):
SHOULD NOT change the version of the code conventions that they emit by default until the code semantic conventions are marked stable.
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py
Outdated
Show resolved
Hide resolved
So these are being marked stable and the warning removed open-telemetry/semantic-conventions#2102 |
Description
Instead of using the deprecated attributes use stable candidate code attributes.
While at it stop using SpanAttributes.
This is similar to what the go sdk is doing open-telemetry/opentelemetry-go-contrib#6870
Refs #4316
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Checklist: