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

Add more rules to be able to exclude Prom Operator CRDs #1189

Open
maxlemieux opened this issue Jan 31, 2025 · 0 comments
Open

Add more rules to be able to exclude Prom Operator CRDs #1189

maxlemieux opened this issue Jan 31, 2025 · 0 comments

Comments

@maxlemieux
Copy link
Collaborator

Adding this request to track customer feedback.

Add more rules to be able to exclude Prom Operator CRDs. This is possible with custom configuration today, but would be nice to have a convenient setting to exclude specific prometheus-operator CRs by simply labelling them.

Example rules:

mimir.rules.kubernetes "prometheusRules" {
  address = "https://prometheus-prod-36-prod-us-west-0.grafana.net/"
  basic_auth {
    username = "0000000"
    password = "redacted"
  }
  rule_selector {
    match_expression {
      key = "skip_grafana_cloud"
      operator = "NotIn"
      values = ["true"]
    }
  }
}
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