-
Notifications
You must be signed in to change notification settings - Fork 627
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 #3251
Update semconv to 1.21.0 #3251
Conversation
@lmolkova, are you still interested in continuing this work? |
@srikanthccv Sorry I got distracted and didn't update the PRs. I can get back to it on the next week. If there is someone else interested, I'm definitely happy to pass it over or work together on it. In any case, I will get back to it and corresponding contrib change on the next week. |
Thank you. There were some PRs intended to do the same thing, but we closed them in favour of yours, so It would be great if you complete this. You also kept it backwards by providing deprecated attributes, which should make it easier to get the contrib tests passed. We don't have to update the instrumentations to follow the latest semconv. |
@srikanthccv This PR is ready for review (but corresponding contrib change is still in progress) The only failure in the pipeline is public API change
These are new enums defined in semconvs, so if you're fine with this, would you mind adding a label? I don't have permissions |
@python-approvers could you please take a look? |
Sure, reviewing... ✌️ |
opentelemetry-semantic-conventions/src/opentelemetry/semconv/resource/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-semantic-conventions/src/opentelemetry/semconv/trace/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-semantic-conventions/src/opentelemetry/semconv/resource/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-semantic-conventions/src/opentelemetry/semconv/trace/__init__.py
Outdated
Show resolved
Hide resolved
Great job ✌️ I added a couple minor fixes for I still have to look into why the |
@lmolkova from the error message of the
|
thanks @ocelotl ! I fixed the indentation for all notes. So I should work on the open-telemetry/opentelemetry-python-contrib#1746 and get it merged first before this one can move ahead, correct? |
Yes, please ✌️ |
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.
One minor comment. Thank you for working on this.
@lmolkova @ocelotl |
I posed this in another task (open-telemetry/opentelemetry-python-contrib#1627), but thought I bring it up here:
I see you mentioned that the consensus is to keep all sub-packages in lock-step like you said there, so this proposal probably isn't acceptable? It could help loosen this coupling and make it easier to keep this library up to date. As long as Edit: I'm just now realizing this library is versioned in lock-step, so nvm. |
ca8fd4c
to
becef2e
Compare
7340360
to
6e61be6
Compare
opentelemetry-api/src/opentelemetry/metrics/_internal/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-semantic-conventions/src/opentelemetry/semconv/metrics/__init__.py
Show resolved
Hide resolved
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.
Thanks for working on this!
opentelemetry-api/src/opentelemetry/metrics/_internal/__init__.py
Outdated
Show resolved
Hide resolved
@ocelotl I took the liberty to reset your review status, please take another look if you want to. |
Description
Updates semantic conventions to v 1.21.0.
As a part of HTTP semconv stabilization effort, we're trying to get instrumentation libraries closer to the final spec and implement changes in diverse set of languages.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
tox + updated contrib repo and fixed tests
Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
The OTel specification has changed which prompted this PR to update the method interfaces of
opentelemetry-api/
oropentelemetry-sdk/
The method interfaces of
test/util
have changedScripts in
scripts/
that were copied over to the Contrib repo have changedConfiguration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in
pyproject.toml
isort.cfg
.flake8
When a new
.github/CODEOWNER
is addedMajor changes to project information, such as in:
README.md
CONTRIBUTING.md
Yes. - Link to PR: Update semconv to 1.20.0 opentelemetry-python-contrib#1746
Checklist: