Skip to content

refactor: Monitor kube_container_cpu unless container has quota

Hercules Merscher requested to merge kube_container_cpu_unless_cpu_quota into master

Relates to gitlab-com/gl-infra/scalability#2724 (comment 1723377089)

By removing containers with a CPU quota set, we remove from capacity planning the containers that operate near 100% CPU capacity that are constantly showing up as a capacity warning, for example https://gitlab.com/gitlab-com/gl-infra/capacity-planning-trackers/gitlab-com/-/issues/1474.

This leaves us with a smaller subset of containers to warn.

Screenshot_2024-01-16_at_17.40.40

PromQL

Merge request reports