diff --git a/minecraft-grafana.json b/minecraft-grafana.json index b71941f2..e5f2e6b6 100644 --- a/minecraft-grafana.json +++ b/minecraft-grafana.json @@ -1,4 +1,40 @@ { + "__inputs": [ + { + "name": "DS_HOST", + "label": "prometheus", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "4.1.2" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "singlestat", + "name": "Singlestat", + "version": "" + } + ], "annotations": { "list": [] }, @@ -17,7 +53,7 @@ { "aliasColors": {}, "bars": false, - "datasource": "Local", + "datasource": "${DS_HOST}", "fill": 1, "id": 1, "legend": { @@ -95,7 +131,7 @@ "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], - "datasource": "Local", + "datasource": "${DS_HOST}", "format": "none", "gauge": { "maxValue": 100, @@ -166,7 +202,7 @@ { "aliasColors": {}, "bars": false, - "datasource": "Local", + "datasource": "${DS_HOST}", "fill": 1, "id": 7, "legend": { @@ -244,7 +280,7 @@ "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], - "datasource": "Local", + "datasource": "${DS_HOST}", "decimals": null, "format": "bytes", "gauge": { @@ -327,7 +363,7 @@ { "aliasColors": {}, "bars": false, - "datasource": "Local", + "datasource": "${DS_HOST}", "fill": 1, "id": 9, "legend": { @@ -411,7 +447,7 @@ { "aliasColors": {}, "bars": false, - "datasource": "Local", + "datasource": "${DS_HOST}", "fill": 1, "id": 3, "legend": { @@ -495,9 +531,9 @@ { "aliasColors": {}, "bars": false, - "datasource": "Local", + "datasource": "${DS_HOST}", "fill": 1, - "id": 4, + "id": null, "legend": { "avg": false, "current": false,