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

enforce a label to be excluded (not equal to some value) #103

Open
m-yosefpor opened this issue Feb 13, 2022 · 0 comments
Open

enforce a label to be excluded (not equal to some value) #103

m-yosefpor opened this issue Feb 13, 2022 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@m-yosefpor
Copy link

m-yosefpor commented Feb 13, 2022

currently prom-label-proxy can check a query parameter q to exist with value v and injects this as a label in all queries such that

metric?q=v -> metric{q="v"}

but our requirement is to exclude some labels e.g. something like

metric?q=!v (or encoded metric?q=%21v)-> metric{q!="v"}
multiple repeated query params should work as expected.

@simonpasquier simonpasquier added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants