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 #4124

Open
abliqo opened this issue Jun 28, 2022 · 0 comments
Open

Metrics filter incorrectly handles wildcard combined with range #4124

abliqo opened this issue Jun 28, 2022 · 0 comments

Comments

@abliqo
Copy link
Collaborator

abliqo commented Jun 28, 2022

Filing M3 Issues

There is a bug in metrics filter that is used by in the rules: when wildcard predicate is combined with the range predicate it is evaluated incorrectly.

Reproduced in the unit tests: d2762b4

Reproduction steps:
Create a tag filter "*ending.{bar,foobar}" and test it against two inputs:

some_ending.bar
some_ending.foobar

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

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

1 participant