-
Notifications
You must be signed in to change notification settings - Fork 54
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
Rename Optional attribute requirement level to Opt-In #135
Conversation
f5cca8e
to
85d73c9
Compare
85d73c9
to
05fd28f
Compare
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.
+1
I like the name change, but did we do an analysis that all usages of the
Is it possible that we need to keep both concepts and just do a once-over review if some currently |
I just sent a draft spec PR to explore that: open-telemetry/opentelemetry-specification#3228 Luckily, |
There is actually a definition of our "optional" requirement level that says it's "opt-in": https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/attribute-requirement-level.md#optional
opt-in was also the original name this was proposed with in open-telemetry/opentelemetry-specification#2522 by @lmolkova, but @bogdandrutu requested reanaming it to "optional" in open-telemetry/opentelemetry-specification#2522 (comment):
Personally, I would also still find "opt-in" clearer than "optional" |
Maybe it would be better to just change the markdown output, as everything else is a breaking change. |
I split out the markdown rendering into a separate PR #137 in case there's a preference to move forward with that first and then we can discuss the breaking change on its own. |
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.
I approved both PRs, depending on how you want to handle it in the spec and potentially code generators (I doubt anybody actually uses the requirement levels there though, except maybe for printing them out).
thx! I'd prefer to merge this PR and trigger a new release of build-tools, then I will proceed with open-telemetry/opentelemetry-specification#3228 |
are there enough approvals on open-telemetry/opentelemetry-specification#3228 to merge this? thx! |
@trask I believe so 🙂 |
Based on suggestion by @arminru and others.
Needed before we mark attribute-requirement-level.md as stable (which is needed before we mark HTTP semantic conventions stable, see open-telemetry/opentelemetry-specification#3219)