Skip to content

Improve prometheus queries used in Pod health dashboard

Reuben Pereira requested to merge rpereira2/improve-pod-dashboard-queries into master

What does this MR do?

Improve the Prometheus queries used in the new K8s Pod health dashboard.

The CPU throttling chart will only show data for pods whose CPU has been throttled.

The charts don't change much, except for the new CPU throttling chart, so I'm not sure if a changelog is needed. Also, this dashboard was added in this milestone (13.3) itself, so there is already a changelog for this dashboard.

To view on GDK:

  1. Attach a cluster to your project.
  2. Install Prometheus managed app into the cluster.
  3. Create an environment if the project doesn't have one.
  4. Open Operations > Metrics and choose the "K8spPod health" from the selector.

Issue: #218649 (closed)

Screenshots

pod_metrics_dashboard1

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Reuben Pereira

Merge request reports

Loading