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

Check labels annotations filter #2923

Merged

Conversation

yuriolisa
Copy link
Contributor

Description:

Fixing the Labels and Annotations filter.

Link to tracking Issue(s):

Documentation:

@yuriolisa yuriolisa requested a review from a team May 3, 2024 12:27
@@ -25,8 +25,9 @@ import (
)

func IsFilteredSet(sourceSet string, filterSet []string) bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to compile the pattern here? Is it not enough to just match string on 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.

Theoretically, we shouldn't, but without doing that, the regexp match doesn't work as expected.

Copy link
Contributor

Choose a reason for hiding this comment

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

What is the difference between them?

@pavolloffay
Copy link
Member

@yuriolisa the PR needs to be rebased

@jaronoff97 jaronoff97 merged commit 9944af6 into open-telemetry:main May 6, 2024
33 checks passed
@Intuinewin
Copy link

Hi, the webhook-port flag was removed in this PR !!!

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 Added in v0.96.0 does not filter annotations
5 participants