summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana
diff options
context:
space:
mode:
Diffstat (limited to 'roles/monitoring/grafana')
-rw-r--r--roles/monitoring/grafana/files/dashboard-standalone-kubelet-overview.json16
1 files changed, 12 insertions, 4 deletions
diff --git a/roles/monitoring/grafana/files/dashboard-standalone-kubelet-overview.json b/roles/monitoring/grafana/files/dashboard-standalone-kubelet-overview.json
index 50003a81..5ff9a338 100644
--- a/roles/monitoring/grafana/files/dashboard-standalone-kubelet-overview.json
+++ b/roles/monitoring/grafana/files/dashboard-standalone-kubelet-overview.json
@@ -624,7 +624,7 @@
"hide": false,
"interval": "15s",
"intervalFactor": 1,
- "legendFormat": "{{ pod }}",
+ "legendFormat": "{{ instance }}",
"metric": "container_cpu",
"range": true,
"refId": "A",
@@ -727,7 +727,7 @@
"hide": false,
"interval": "15s",
"intervalFactor": 1,
- "legendFormat": "{{ pod }}",
+ "legendFormat": "{{ instance }}",
"metric": "container_cpu",
"range": true,
"refId": "A",
@@ -1576,6 +1576,10 @@
},
{
"current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"definition": "label_values(pod_cpu_usage_seconds_total{instance=~\"$instance\"},pod)",
"hide": 0,
"includeAll": true,
@@ -1594,6 +1598,10 @@
},
{
"current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"definition": "label_values(container_cpu_usage_seconds_total{instance=~\"$instance\", pod=~\"$pod\"},container)",
"hide": 0,
"includeAll": true,
@@ -1644,6 +1652,6 @@
"timezone": "",
"title": "Standalone Kubelet Overview",
"uid": "3138fa155d5915769fbded898ac09fd9",
- "version": 3,
+ "version": 4,
"weekStart": ""
-} \ No newline at end of file
+}