From 149c61fcc8b18556b66bbcba5ca80feada4ff415 Mon Sep 17 00:00:00 2001 From: Andrej Walilko Date: Thu, 15 Apr 2021 11:36:52 -0400 Subject: [PATCH] dashboard v4 --- tomato router dashboard.json | 112 +++++++++++------------------------ 1 file changed, 35 insertions(+), 77 deletions(-) diff --git a/tomato router dashboard.json b/tomato router dashboard.json index 900e39d..8c4c349 100644 --- a/tomato router dashboard.json +++ b/tomato router dashboard.json @@ -1062,7 +1062,7 @@ }, { "params": [ - "null" + "previous" ], "type": "fill" } @@ -2436,54 +2436,50 @@ } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB}", - "decimals": 2, - "editable": true, - "error": false, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "s" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, - "grid": {}, "gridPos": { "h": 7, "w": 4, "x": 10, "y": 26 }, - "hiddenSeries": false, "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" }, - "percentage": false, "pluginVersion": "7.5.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "groupBy": [ @@ -2500,7 +2496,7 @@ "type": "fill" } ], - "measurement": "mem.used.kilobytes", + "measurement": "load.uptime", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -2559,48 +2555,10 @@ "target": "aliasByNode(scale(mem.used.bytes, 0.0010), 3)" } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, - "title": "Memory Used", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3163", - "decimals": null, - "format": "deckbytes", - "logBase": 1, - "max": "256000", - "min": 0, - "show": true - }, - { - "$$hashKey": "object:3164", - "format": "bytes", - "logBase": 1, - "max": null, - "min": 0, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Uptime", + "type": "stat" }, { "aliasColors": {}, @@ -3433,7 +3391,7 @@ "list": [] }, "time": { - "from": "now-12h", + "from": "now-1h", "to": "now" }, "timepicker": { @@ -3465,5 +3423,5 @@ "timezone": "browser", "title": "FreshTomato Router Dashboard", "uid": "s8WX75XMz", - "version": 11 + "version": 13 } \ No newline at end of file