fix Control Plane dashboard legend

The legend was not showing the Pod name, instead the whole resource in
the dashboard

As a result, use the correct Prometheus label

Resolves:
Related:
Signed-off-by: Daniel-Andrei Minca <mandrei17@gmail.com>
pull/1575/head
Daniel-Andrei Minca 4 years ago
parent e4af8ddcc8
commit c98cd10621
No known key found for this signature in database
GPG Key ID: BD9673B89560010D

@ -547,7 +547,7 @@
{
"expr": "rate(process_cpu_seconds_total{namespace=\"$namespace\",pod=~\".*-controller-.*\"}[1m])",
"interval": "",
"legendFormat": "{{kubernetes_pod_name}}",
"legendFormat": "{{pod}}",
"refId": "A"
}
],
@ -643,7 +643,7 @@
"expr": "rate(go_memstats_alloc_bytes_total{namespace=\"$namespace\",pod=~\".*-controller-.*\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "{{kubernetes_pod_name}}",
"legendFormat": "{{pod}}",
"refId": "A"
}
],

Loading…
Cancel
Save