Skip to content

Commit

Permalink
swarm: fix grafana dashboard templating (#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
burdiyan authored Nov 27, 2023
1 parent 3089ac3 commit 0d52da2
Showing 1 changed file with 28 additions and 54 deletions.
82 changes: 28 additions & 54 deletions dashboards/swarm/swarm.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -1139,9 +1137,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -1816,9 +1812,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2016,9 +2010,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2110,9 +2102,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2205,9 +2195,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2372,15 +2360,11 @@
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"percent"
]
"values": ["percent"]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2652,9 +2636,7 @@
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -2798,22 +2780,16 @@
},
"id": 38,
"options": {
"displayLabels": [
"percent"
],
"displayLabels": ["percent"],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"percent"
]
"values": ["percent"]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -3036,23 +3012,16 @@
},
"id": 42,
"options": {
"displayLabels": [
"percent",
"name"
],
"displayLabels": ["percent", "name"],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"percent"
]
"values": ["percent"]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -3296,9 +3265,7 @@
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -3360,9 +3327,7 @@
"options": {
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -3395,6 +3360,16 @@
"tags": [],
"templating": {
"list": [
{
"hide": 0,
"label": "datasource",
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"current": {},
"datasource": {
Expand All @@ -3412,7 +3387,6 @@
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
Expand All @@ -3429,4 +3403,4 @@
"uid": "a15PyhO4z",
"version": 4,
"weekStart": ""
}
}

0 comments on commit 0d52da2

Please sign in to comment.