Skip to content

Commit

Permalink
fix(k8s-views-global.json): some display errors on Grafana 8
Browse files Browse the repository at this point in the history
Signed-off-by: David Calvert <david@0xdc.me>
  • Loading branch information
dotdc committed May 10, 2023
1 parent f0ab10c commit fecccb1
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions dashboards/k8s-views-global.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
Expand Down Expand Up @@ -908,6 +909,7 @@
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
Expand Down Expand Up @@ -1021,6 +1023,7 @@
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
Expand Down Expand Up @@ -1101,7 +1104,7 @@
"exemplar": true,
"expr": "sum(kube_pod_status_reason) by (reason)",
"interval": "",
"legendFormat": "__auto",
"legendFormat": "{{ reason }}",
"range": true,
"refId": "A"
}
Expand Down Expand Up @@ -1203,7 +1206,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "right",
"showLegend": false
},
Expand Down Expand Up @@ -1306,7 +1309,7 @@
"max",
"min"
],
"displayMode": "list",
"displayMode": "hidden",
"placement": "right",
"showLegend": false
},
Expand Down Expand Up @@ -1451,6 +1454,7 @@
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
Expand Down Expand Up @@ -1824,7 +1828,7 @@
"sortDesc": true
},
"tooltip": {
"mode": "single",
"mode": "multi",
"sort": "none"
}
},
Expand All @@ -1837,7 +1841,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_cpu_cfs_throttled_seconds_total{image!=\"\"}[$__rate_interval])) by (namespace)",
"expr": "sum(rate(container_cpu_cfs_throttled_seconds_total{image!=\"\"}[$__rate_interval])) by (namespace) > 0",
"interval": "$resolution",
"legendFormat": "{{ namespace }}",
"range": true,
Expand Down Expand Up @@ -2040,7 +2044,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2149,7 +2153,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2258,7 +2262,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2367,7 +2371,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2477,7 +2481,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2587,7 +2591,7 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"displayMode": "hidden",
"placement": "bottom",
"showLegend": false
},
Expand Down Expand Up @@ -2713,6 +2717,6 @@
"timezone": "",
"title": "Kubernetes / Views / Global",
"uid": "k8s_views_global",
"version": 26,
"version": 27,
"weekStart": ""
}

0 comments on commit fecccb1

Please sign in to comment.