Reference: OpenShift Console UI Monitoring Dashboard Definition
Use the dashboard definition accelerators-dashboard.json
:
oc create configmap accelerator-exporter-dashboard -n openshift-config-managed --from-file=accelerators-dashboard.json
oc label configmap accelerator-exporter-dashboard -n openshift-config-managed "console.openshift.io/dashboard=true"
or run update-config-map.sh
Use the scripts under devel
to start Prometheus, a push gateway and Grafana, and populate the Prometheus with data. Then access the Grafana UI to create and export a dashboard.