summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana/files
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-07-29 02:04:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-29 02:04:23 +0200
commit76c30a85dd6eb4e7fde74ec31fd10cbbec220a0f (patch)
tree8bd4712a71d964151edb22d0eb103881c817c8dc /roles/monitoring/grafana/files
parentretire outdated raspbian (diff)
prometheus/standalone-kubelet: simply config and scrape all sub-jobs on all hosts
Diffstat (limited to 'roles/monitoring/grafana/files')
-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
+}