Fix dashboard for Grafana 8.3.4

This commit is contained in:
Shizun Ge 2022-01-22 00:11:23 -08:00
parent fcbf3b7daf
commit 5bf122f623

View file

@ -21,7 +21,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "8.3.1" "version": "8.3.4"
}, },
{ {
"type": "panel", "type": "panel",
@ -73,13 +73,13 @@
} }
] ]
}, },
"description": "Dashboard for endlessh", "description": "Dashboard for endlessh (Fix for Grafana 8.3.4)",
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"gnetId": 15156, "gnetId": 15156,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1639279172127, "iteration": 1642838440700,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
@ -128,7 +128,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"panelId": 47, "panelId": 47,
@ -137,6 +137,24 @@
], ],
"title": "Connections", "title": "Connections",
"transformations": [ "transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -239,7 +257,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"panelId": 47, "panelId": 47,
@ -248,6 +266,24 @@
], ],
"title": "Trapped Time", "title": "Trapped Time",
"transformations": [ "transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Trapped"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -358,7 +394,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -417,7 +453,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"panelId": 47, "panelId": 47,
@ -533,7 +569,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"panelId": 47, "panelId": 47,
@ -542,6 +578,24 @@
], ],
"title": "Latest Connection", "title": "Latest Connection",
"transformations": [ "transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -682,7 +736,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -832,6 +886,24 @@
], ],
"title": "Connections by country", "title": "Connections by country",
"transformations": [ "transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -865,24 +937,6 @@
"id": "merge", "id": "merge",
"options": {} "options": {}
}, },
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greater",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen (sum)"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -1010,7 +1064,7 @@
"zoom": 1 "zoom": 1
} }
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"panelId": 47, "panelId": 47,
@ -1019,6 +1073,24 @@
], ],
"title": "Locations", "title": "Locations",
"transformations": [ "transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -1257,11 +1329,11 @@
"sortBy": [ "sortBy": [
{ {
"desc": true, "desc": true,
"displayName": "Trapped Time" "displayName": "Last Connection"
} }
] ]
}, },
"pluginVersion": "8.3.1", "pluginVersion": "8.3.4",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -1284,6 +1356,37 @@
], ],
"title": "Clients", "title": "Clients",
"transformations": [ "transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen"
},
{
"config": {
"id": "greaterOrEqual",
"options": {
"value": 0
}
},
"fieldName": "Value #Trapped"
}
],
"match": "all",
"type": "include"
}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -1319,10 +1422,6 @@
} }
} }
}, },
{
"id": "merge",
"options": {}
},
{ {
"id": "groupBy", "id": "groupBy",
"options": { "options": {
@ -1364,24 +1463,6 @@
} }
} }
}, },
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greater",
"options": {
"value": 0
}
},
"fieldName": "Value #Seen (sum) (lastNotNull)"
}
],
"match": "any",
"type": "include"
}
},
{ {
"id": "organize", "id": "organize",
"options": { "options": {
@ -1408,7 +1489,7 @@
} }
], ],
"refresh": "", "refresh": "",
"schemaVersion": 33, "schemaVersion": 34,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"prometheus" "prometheus"
@ -1471,6 +1552,6 @@
"timezone": "", "timezone": "",
"title": "Endlessh", "title": "Endlessh",
"uid": "ATIxYkO7k", "uid": "ATIxYkO7k",
"version": 3, "version": 4,
"weekStart": "" "weekStart": ""
} }