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

Metrics filter incorrectly handles wildcard combined with range #4125

Open
abliqo opened this issue Jun 28, 2022 · 1 comment
Open

Metrics filter incorrectly handles wildcard combined with range #4125

abliqo opened this issue Jun 28, 2022 · 1 comment

Comments

@abliqo
Copy link
Collaborator

abliqo commented Jun 28, 2022

There is a bug in the filter implementation that is used in the aggregator rules: it incorrectly handles combination of wildcard and a range filter.

Reproduced in new unit tests: d2762b4

Example:

Create a filter "*ending.{bar,foobar}" and match it against two inputs:

some_ending.bar
some_ending.foobar

Expected result: it should match both inputs
Actual result: if fails to match the second input

@andrewmains12
Copy link
Contributor

Looks like the same issue as #1810 -- definitely a legitimate issue.

Closing as dupe.

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

No branches or pull requests

2 participants