Skip to content

Add pod metrics dashboard

Reuben Pereira requested to merge add-pod-metrics-dashboard into master

What does this MR do?

Create a dashboard for viewing basic Pod Health metrics. The dashboard displays metrics of a particular pod. pod_name is a parameter in the PromQL queries. The value that should replace the pod_name variable will be sent to the backend as a parameter in the Prometheus Proxy API. MR to add support for passing custom variable values to Prometheus Proxy API is in review: !20793 (merged).

The dashboard currently contains metrics for:

  1. CPU utilization
  2. Working set memory
  3. Network Throughput
  4. Disk usage

Link to view this dashboard: https://gitlab.com/rpereira2/autodevops-deploy/environments/1130883/metrics?dashboard=.gitlab%2Fdashboards%2Fpod_metrics.yml&start=2019-11-13T14%3A55%3A57.000Z&end=2019-11-20T14%3A55%3A57.000Z

Issue: #35242 (closed)

Screenshots

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 🤖 GitLab Bot 🤖

Merge request reports