From d2e7e14febbd4d826fe07df494c454367597aaaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Lemoine?= Date: Wed, 23 Nov 2016 15:23:18 +0000 Subject: [PATCH] Remove fs-related panels in Grafana --- influxdb/files/grafana_influxdb.json | 403 ++++++--------------------- 1 file changed, 85 insertions(+), 318 deletions(-) diff --git a/influxdb/files/grafana_influxdb.json b/influxdb/files/grafana_influxdb.json index 69a66c4..b4b41af 100644 --- a/influxdb/files/grafana_influxdb.json +++ b/influxdb/files/grafana_influxdb.json @@ -17,10 +17,10 @@ ] }, "editable": true, + "gnetId": null, "hideControls": false, "id": null, "links": [], - "originalTitle": "InfluxDB", "refresh": "1m", "rows": [ { @@ -52,6 +52,17 @@ "interval": "> 60s", "isNew": true, "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, @@ -59,6 +70,13 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", @@ -321,6 +339,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -491,6 +510,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -548,6 +568,17 @@ "interval": "> 60s", "isNew": true, "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, @@ -555,6 +586,13 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", @@ -815,6 +853,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -972,6 +1011,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -1028,6 +1068,17 @@ "id": 9, "interval": "> 60s", "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, @@ -1035,6 +1086,13 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", @@ -1199,6 +1257,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -1371,6 +1430,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -1543,6 +1603,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "individual" }, "type": "graph", @@ -1565,321 +1626,6 @@ "show": true } ] - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": null, - "editable": true, - "error": false, - "format": "percent", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 12, - "interval": null, - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - } - ], - "measurement": "fs_space_percent_free", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"fs_space_percent_free\" WHERE \"fs\" = '/var/lib/influxdb' AND \"hostname\" =~ /$server$/ AND $timeFilter GROUP BY time($interval)", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "fs", - "operator": "=", - "value": "/var/lib/influxdb" - }, - { - "condition": "AND", - "key": "hostname", - "operator": "=~", - "value": "/$server$/" - } - ] - } - ], - "thresholds": "", - "title": "Free space on /var/lib/influxdb", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "aliasColors": {}, - "bars": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "grid": { - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 13, - "interval": "> 60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "free", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "measurement": "fs_space_free", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"fs_space_free\" WHERE \"fs\" = '/var/lib/influxdb' AND \"hostname\" =~ /$server$/ AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "fs", - "operator": "=", - "value": "/var/lib/influxdb" - }, - { - "condition": "AND", - "key": "hostname", - "operator": "=~", - "value": "/$server$/" - } - ] - }, - { - "alias": "used", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "measurement": "fs_space_used", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"fs_space_used\" WHERE \"fs\" = '/var/lib/influxdb' AND \"hostname\" =~ /$server$/ AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "fs", - "operator": "=", - "value": "/var/lib/influxdb" - }, - { - "condition": "AND", - "key": "hostname", - "operator": "=~", - "value": "/$server$/" - } - ] - }, - { - "alias": "reserved", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "measurement": "fs_space_reserved", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"fs_space_reserved\" WHERE \"fs\" = '/var/lib/influxdb' AND \"hostname\" =~ /$server$/ AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "fs", - "operator": "=", - "value": "/var/lib/influxdb" - }, - { - "condition": "AND", - "key": "hostname", - "operator": "=~", - "value": "/$server$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Disk usage on /var/lib/influxdb", - "tooltip": { - "msResolution": false, - "shared": true, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "show": true - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] } ], "title": "New row" @@ -1912,6 +1658,17 @@ "id": 14, "interval": "> 60s", "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, @@ -1919,6 +1676,13 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", @@ -2083,6 +1847,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -2255,6 +2020,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "cumulative" }, "type": "graph", @@ -2427,6 +2193,7 @@ "tooltip": { "msResolution": false, "shared": true, + "sort": 0, "value_type": "individual" }, "type": "graph", @@ -2527,5 +2294,5 @@ }, "timezone": "browser", "title": "InfluxDB", - "version": 2 -} + "version": 3 +} \ No newline at end of file -- 2.32.7