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

Deprecate label flag and Align label filter flag with attribute filter flag name #3232

Merged

Conversation

davidhaja
Copy link
Contributor

@davidhaja davidhaja commented Aug 20, 2024

Signed-off-by: dhaja [email protected]

Description:
Deprecating label flag and introducing labels-filter flag to align the label filtering flag with attribute filter flag name.
Using the label filters both from label and labels-filter flags, until label flag is removed.

Link to tracking Issue(s): 3218

Testing: N/A

Documentation: N/A

@davidhaja davidhaja requested a review from a team August 20, 2024 23:11
@davidhaja davidhaja changed the title Deprecating label flag and Align label filter flag with attribute filter flag name Deprecate label flag and Align label filter flag with attribute filter flag name Aug 20, 2024
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement
Copy link
Member

Choose a reason for hiding this comment

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

deprecation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

component: operator

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Depreceate label flag and align label filter flag with attribute filter flag name"
Copy link
Member

Choose a reason for hiding this comment

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

please explicitly mention the deprecated flag and the new flag.

Copy link
Member

Choose a reason for hiding this comment

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

mention when the deprecated flag will be removed and create a ticket for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pavolloffay Thank you for your review!
Do you know when the deprecated flag will be removed? Is there an exact version or something like that?
Or should I just say it will be removed when the new ticket #XXXXX is resolved?

Copy link
Contributor

Choose a reason for hiding this comment

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

i think we can do the latter and just create an issue for remove the deprecated flag after N versions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Explicitly mentioning the flags
Created new issue #3236 and also mentioning that in the note

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pavolloffay @jaronoff97
Let me know if I still need to modify something

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

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

@davidhaja one last thing... can you update the e2e workflow to use this?

@davidhaja
Copy link
Contributor Author

@davidhaja one last thing... can you update the e2e workflow to use this?

@jaronoff97
My grep missed this part. Thanks for noticing. I've updated

Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@jaronoff97 jaronoff97 merged commit 2a53c4e into open-telemetry:main Sep 12, 2024
33 checks passed
@jaronoff97
Copy link
Contributor

Thank you for your contribution! 🙇

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.

Align label filter flag with attribute filter flag name
5 participants