OpenShift Monitoring Grafana Dashboard
Tutorial to use custom Grafana Dashboard to explore OpenShift metrics from a Prometheus Datasource.
This guide will use OpenShift CI jobs, exploring the exported Prometheus dump from CI e2e job using the Prometheus API exposed by PromeCleus.
Steps to use custom grafana:
Restore the Promethes datasource
- Find the Prow job
- Click in the lens "Debug Tools", then PromeCleus
- Paste the Job URL
- Open the Prometheus instance, and copy the URL (without path) saving for later usage
Deploy Grafana Instance
- Create the Grafana Instance (skip if you already have one)
https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/ https://hub.docker.com/r/grafana/grafana
- Create or update a Prometheus datasource named
prometheus
- Paste the PromeCleus URL (without path)
- Import the Dashboard JSON file grafana-dashboard-promecleus.json
- Adjust the Dashboard timeframe for your job execution and be happy.
Example: