Skip to content

Improve GitLab Kubernetes CPU metrics

What does this MR do?

  • Searches specifically for k8s metrics from the specific project namespace
  • Directly matches on pod_name, with an improved regex. Should now reliably catch all pod names that start with $CI_ENVIRONMENT_SLUG.
  • Switches to counting CPU cores, not % utilization
  • Improved de-duplication of pre-1.7 metrics

What are the relevant issue numbers?

Closes #43670 (closed)

Closes #43462 (closed)

Edited by Joshua Lambert

Merge request reports