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

promql/regexp lint warning about 'smelly selector' can't be specifically disabled #1096

Open
siebenmann opened this issue Sep 4, 2024 · 0 comments

Comments

@siebenmann
Copy link

Commit 9b01f7f added a check for regular expressions with a 'smelly selector'. However this check has no specific way to disable it and can complain about common patterns of usage such as node_network_speed_bytes{host=~"san.*", device="ens1f0np0"}. I don't want to disable all promql/regexp checks but I have to disable this specific check, and there is no way to do so today.

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