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

Flag --check.ignore-group not working as expected #161

Open
mwalz0 opened this issue Oct 29, 2024 · 2 comments
Open

Flag --check.ignore-group not working as expected #161

mwalz0 opened this issue Oct 29, 2024 · 2 comments

Comments

@mwalz0
Copy link

mwalz0 commented Oct 29, 2024

Nice tool. I am using it with default settings to scrape the rules of my Prometheus server at 0.0.0.0:9090, and check against them. I am trying to ignore a rule group, but it doesn't seem to respect my flag in the below format, and still outputs this rule group.

--check.ignore-group 'groupName'

I notice in the readme examples with this check.ignore-group, it also manually passes the --check.file. Does this ignore flag only work when passing a --check.file and not when the rules are scraped from the server?

@mwalz0
Copy link
Author

mwalz0 commented Nov 19, 2024

FYI I also tried the following formats, to no avail.
--check.ignore-group=groupName
--check.ignore-group="groupName"

Copy link

This issue is idle because it has been open for 60 days with no activity.

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