dashboard updates variables on time range change.

This commit is contained in:
Shizun Ge 2023-01-29 20:59:43 -08:00
parent 2773554b0a
commit fdf9842025

View file

@ -9,7 +9,7 @@
"pluginName": "Prometheus" "pluginName": "Prometheus"
} }
], ],
"__elements": [], "__elements": {},
"__requires": [ "__requires": [
{ {
"type": "panel", "type": "panel",
@ -21,7 +21,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "8.3.6" "version": "9.3.6"
}, },
{ {
"type": "panel", "type": "panel",
@ -58,7 +58,10 @@
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
@ -73,13 +76,12 @@
} }
] ]
}, },
"description": "Dashboard for endlessh", "description": "Dashboard for endlessh (Update variables on time range changes)",
"editable": true, "editable": false,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"gnetId": 15156, "gnetId": 15156,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1645482521172,
"links": [ "links": [
{ {
"asDropdown": false, "asDropdown": false,
@ -153,7 +155,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -277,7 +279,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -402,7 +404,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -465,7 +467,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -578,7 +580,7 @@
"text": {}, "text": {},
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -722,7 +724,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -751,6 +753,8 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -802,15 +806,21 @@
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "hidden", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": false
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20, "panelId": 20,
"refId": "A" "refId": "A"
} }
@ -851,6 +861,7 @@
"legend": { "legend": {
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "right",
"showLegend": true,
"values": [ "values": [
"value", "value",
"percent" "percent"
@ -865,7 +876,8 @@
"values": false "values": false
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
@ -961,6 +973,13 @@
"color": { "color": {
"mode": "continuous-GrYlRd" "mode": "continuous-GrYlRd"
}, },
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [], "mappings": [],
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
@ -992,6 +1011,7 @@
"mouseWheelZoom": false, "mouseWheelZoom": false,
"showAttribution": false, "showAttribution": false,
"showDebug": false, "showDebug": false,
"showMeasure": false,
"showScale": false, "showScale": false,
"showZoom": true "showZoom": true
}, },
@ -1037,14 +1057,18 @@
"type": "markers" "type": "markers"
} }
], ],
"tooltip": {
"mode": "details"
},
"view": { "view": {
"allLayers": true,
"id": "zero", "id": "zero",
"lat": 0, "lat": 0,
"lon": 0, "lon": 0,
"zoom": 1 "zoom": 1
} }
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -1139,6 +1163,7 @@
"align": "auto", "align": "auto",
"displayMode": "auto", "displayMode": "auto",
"filterable": true, "filterable": true,
"inspect": false,
"minWidth": 50 "minWidth": 50
}, },
"links": [], "links": [],
@ -1230,7 +1255,7 @@
} }
] ]
}, },
"pluginVersion": "8.3.6", "pluginVersion": "9.3.6",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -1421,7 +1446,7 @@
} }
], ],
"refresh": "", "refresh": "",
"schemaVersion": 34, "schemaVersion": 37,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"prometheus" "prometheus"
@ -1486,6 +1511,6 @@
"timezone": "", "timezone": "",
"title": "Endlessh", "title": "Endlessh",
"uid": "ATIxYkO7k", "uid": "ATIxYkO7k",
"version": 8, "version": 9,
"weekStart": "" "weekStart": ""
} }