kubernetes-monitoring / kubernetes-mixin

A set of Grafana dashboards and Prometheus alerts for Kubernetes.
Apache License 2.0
2.09k stars 597 forks source link

[Bug]: KubeAPIErrorBudgetBurn doesn't respect clusterLabel #973

Open dohnto opened 1 week ago

dohnto commented 1 week ago

What happened?

KubeAPIErrorBudgetBurn doesn't respect clusterLabel:

            alert: 'KubeAPIErrorBudgetBurn',
            expr: |||
              sum(apiserver_request:burnrate%s) > (%.2f * %.5f)
              and
              sum(apiserver_request:burnrate%s) > (%.2f * %.5f)

Alerts might not be calculated correctly if mixins are run in multi-cluster environment.

Please provide any helpful snippets.

No response

What parts of the codebase are affected?

Alerts

I agree to the following terms:

skl commented 1 week ago

Thanks for contributing, hopefully #889 resolves this for you!