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 annotation/label filter setting #3008

Merged
merged 5 commits into from
Jun 5, 2024

Conversation

jaronoff97
Copy link
Contributor

Description:
Fixes a bug where annotations/label filter regexes were not being applied correctly because they were being escaped. This result in something hello.*world to become hello\..*world in a way that was opaque to the user.

Link to tracking Issue(s):

Testing: Unit testing, manual testing

Documentation: n/a

@jaronoff97 jaronoff97 requested a review from a team as a code owner June 3, 2024 19:25
@yuriolisa
Copy link
Contributor

Could you please set a wider test here with a similar regex mentioned in the issue?

config.*.gke.io.*

@jaronoff97 jaronoff97 enabled auto-merge (squash) June 5, 2024 15:40
@jaronoff97 jaronoff97 merged commit 4cd4454 into open-telemetry:main Jun 5, 2024
33 checks passed
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request Jun 6, 2024
* fix how options are loaded by removing special casing

* oop

* chlog

* update to specific test

* oop
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.

Annotations Filter does not Filter Annotations
4 participants