Browse Source

swarm: fix grafana dashboard templating (#2640)

pull/2658/head
Alexandr Burdiyan 12 months ago
committed by GitHub
parent
commit
0d52da2c02
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 80
      dashboards/swarm/swarm.json

80
dashboards/swarm/swarm.json

@ -232,9 +232,7 @@
"options": { "options": {
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -1139,9 +1137,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -1816,9 +1812,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2016,9 +2010,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2110,9 +2102,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2205,9 +2195,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2372,15 +2360,11 @@
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "right",
"showLegend": true, "showLegend": true,
"values": [ "values": ["percent"]
"percent"
]
}, },
"pieType": "donut", "pieType": "donut",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2652,9 +2636,7 @@
}, },
"pieType": "pie", "pieType": "pie",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -2798,22 +2780,16 @@
}, },
"id": 38, "id": 38,
"options": { "options": {
"displayLabels": [ "displayLabels": ["percent"],
"percent"
],
"legend": { "legend": {
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "right",
"showLegend": true, "showLegend": true,
"values": [ "values": ["percent"]
"percent"
]
}, },
"pieType": "donut", "pieType": "donut",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -3036,23 +3012,16 @@
}, },
"id": 42, "id": 42,
"options": { "options": {
"displayLabels": [ "displayLabels": ["percent", "name"],
"percent",
"name"
],
"legend": { "legend": {
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "right",
"showLegend": true, "showLegend": true,
"values": [ "values": ["percent"]
"percent"
]
}, },
"pieType": "donut", "pieType": "donut",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -3296,9 +3265,7 @@
"justifyMode": "auto", "justifyMode": "auto",
"orientation": "horizontal", "orientation": "horizontal",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -3360,9 +3327,7 @@
"options": { "options": {
"orientation": "vertical", "orientation": "vertical",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
@ -3395,6 +3360,16 @@
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [
{
"hide": 0,
"label": "datasource",
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{ {
"current": {}, "current": {},
"datasource": { "datasource": {
@ -3412,7 +3387,6 @@
"refId": "StandardVariableQuery" "refId": "StandardVariableQuery"
}, },
"refresh": 1, "refresh": 1,
"regex": "",
"skipUrlSync": false, "skipUrlSync": false,
"sort": 0, "sort": 0,
"type": "query" "type": "query"

Loading…
Cancel
Save