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

Adopt attribute requirement levels in semantic conventions #2594

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

lmolkova
Copy link
Contributor

@lmolkova lmolkova commented Jun 1, 2022

Updates existing conventions to use attribute requirement levels introduced in #2522

semantic_conventions/trace/database.yaml Outdated Show resolved Hide resolved
@reyang reyang added the area:semantic-conventions Related to semantic conventions label Jun 1, 2022
@lmolkova lmolkova force-pushed the all-spec-requirement-levels branch 2 times, most recently from 7c6f70f to 23f8f02 Compare June 1, 2022 17:06
Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

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

Reading this PR, just scares me how many things are "required". Do we need an audit of these, or we already checked that we really "require" this?

One last thing, in a separate PR: Can we document if changing "requirement_levels" is considered backwards compatible, and if yes between which levels?

@lmolkova
Copy link
Contributor Author

lmolkova commented Jun 2, 2022

Reading this PR, just scares me how many things are "required". Do we need an audit of these, or we already checked that we really "require" this?

across all specs we only have 26 attributes that are required (some are duplicated in traces and metrics):

Most of required attributes look reasonable to me, I created issues where I believe we can relax the level:

We also have ~25 conditionally_required attributes, I reviewed them and they seem reasonable to me (mind the messaging rewrite and faas issue).

@lmolkova
Copy link
Contributor Author

lmolkova commented Jun 2, 2022

One last thing, in a separate PR: Can we document if changing "requirement_levels" is considered backwards compatible, and if yes between which levels?

Great point, here it is #2601

@lmolkova
Copy link
Contributor Author

lmolkova commented Jun 3, 2022

@bogdandrutu let me know if you see #2600 and #2599 are preconditions without which this PR can't be merged.
From my side, I'd prefer to merge this one first, and then I'll send small follow-up PRs for the above issues.

@lmolkova
Copy link
Contributor Author

lmolkova commented Jun 7, 2022

@open-telemetry/specs-metrics-approvers can you please take a look?

Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

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

Discuss that @lmolkova will review "required" attributes in a different PR.

@lmolkova
Copy link
Contributor Author

lmolkova commented Jun 9, 2022

@jack-berg @lzchen @MrAlias @cijothomas @justinfoote @jkwatson can someone please review on behalf of @open-telemetry/specs-metrics-approvers ?

@jkwatson
Copy link
Contributor

jkwatson commented Jun 9, 2022

@jack-berg @lzchen @MrAlias @cijothomas @justinfoote @jkwatson can someone please review on behalf of @open-telemetry/specs-metrics-approvers ?

I need to be taken off that list.

semantic_conventions/resource/process.yaml Outdated Show resolved Hide resolved
semantic_conventions/trace/database.yaml Outdated Show resolved Hide resolved
@reyang
Copy link
Member

reyang commented Jun 10, 2022

@jack-berg @lzchen @MrAlias @cijothomas @justinfoote @jkwatson can someone please review on behalf of @open-telemetry/specs-metrics-approvers ?

I need to be taken off that list.

@jkwatson I've removed you from the list. THANK YOU for helping metrics API/SDK specs to the shape!

@lmolkova lmolkova force-pushed the all-spec-requirement-levels branch from 706542a to 4e773c0 Compare June 13, 2022 18:06
@lmolkova
Copy link
Contributor Author

@open-telemetry/technical-committee can someone please merge?

author Liudmila Molkova <limolkova@microsoft.com> 1652725143 -0700
committer Liudmila Molkova <limolkova@microsoft.com> 1655143447 -0700

parent bff2cc1
author Liudmila Molkova <limolkova@microsoft.com> 1652725143 -0700
committer Liudmila Molkova <limolkova@microsoft.com> 1655143419 -0700

parent bff2cc1
author Liudmila Molkova <limolkova@microsoft.com> 1652725143 -0700
committer Liudmila Molkova <limolkova@microsoft.com> 1655143334 -0700

Specify requirement levels in existing conventions
@lmolkova lmolkova force-pushed the all-spec-requirement-levels branch from db613a7 to a909e22 Compare June 14, 2022 14:46
@reyang reyang merged commit 94c9c75 into open-telemetry:main Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants