kubernetes-monitoring / kubernetes-mixin

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

Split k8s container resource rule grouping #952

Closed than-pet closed 4 days ago

than-pet commented 2 months ago

The k8s.rules.container_resource rule group contains rules that could potentially be slow on large Kubernetes environments. Since the recording rules are independent, we can split them to run them in parallel.

I split them by 2 resource categories: cpu/memory and requests/limits. This could be split even more, but IMO it's more than enough as it is.