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

Fix LogRecordFlags and DataPointFlags enum element name inconsistency #474

Merged

Conversation

tigrannajaryan
Copy link
Member

Other enum element names in this repo are prefixed by enum name in CAPITAL_CASE.

This change makes naming of LogRecordFlags and DataPointFlags elements consistent with the rest of the enums.

Resolves #473

@open-telemetry/specs-approvers this breaks generated code. We are allowed to make such breaking changes, but I want us to be aware that we are causing some pain and only make this change if we think it is worth it. I would want to see a majority of TC approving this before I merge. I can personally argue both ways and do not see the definite argument to make up my mind.

Other enum element names in this repo are prefixed by enum name in CAPITAL_CASE.

This change makes naming of LogRecordFlags and DataPointFlags elements consistent
with the rest of the enums.

Resolves open-telemetry#473
@dyladan
Copy link
Member

dyladan commented May 16, 2023

I would want to see a majority of TC approving this before I merge

Since this is such a high bar should we set some deadline so it doesn't sit forever? There may be TC members who don't feel strongly enough to block it but also don't want to approve it.

Copy link
Contributor

@tedsuo tedsuo left a comment

Choose a reason for hiding this comment

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

We want OTel to be a long lasting standard. It's best to fix these inconsistencies when we have a chance.

@tigrannajaryan
Copy link
Member Author

We have enough approvals. I am going to keep it open for another day (2 day rule) and then will merge.

@bogdandrutu bogdandrutu merged commit 449a1b0 into open-telemetry:main May 20, 2023
14 checks passed
@tigrannajaryan tigrannajaryan deleted the feature/tigran/fixenumnames branch May 23, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enum element naming consistency
10 participants