From 7c19cddb268ac576d59f59fda3017d0fd76bdb5f Mon Sep 17 00:00:00 2001 From: jsign Date: Tue, 28 Jan 2020 10:17:13 -0300 Subject: [PATCH] make half window resize friendly Signed-off-by: jsign --- .../provisioning/dashboards/TextileFC.json | 204 ++++++++++++------ 1 file changed, 142 insertions(+), 62 deletions(-) diff --git a/docker/grafana/provisioning/dashboards/TextileFC.json b/docker/grafana/provisioning/dashboards/TextileFC.json index eb9264c2f..dba4d5789 100644 --- a/docker/grafana/provisioning/dashboards/TextileFC.json +++ b/docker/grafana/provisioning/dashboards/TextileFC.json @@ -51,8 +51,8 @@ "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 2, + "h": 4, + "w": 4, "x": 0, "y": 1 }, @@ -139,9 +139,9 @@ "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 2, - "x": 2, + "h": 4, + "w": 5, + "x": 4, "y": 1 }, "id": 6, @@ -224,9 +224,9 @@ "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 2, - "x": 4, + "h": 4, + "w": 5, + "x": 9, "y": 1 }, "id": 4, @@ -312,9 +312,9 @@ "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 2, - "x": 6, + "h": 4, + "w": 5, + "x": 14, "y": 1 }, "id": 10, @@ -396,9 +396,9 @@ "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 2, - "x": 8, + "h": 4, + "w": 5, + "x": 19, "y": 1 }, "id": 8, @@ -468,7 +468,7 @@ "h": 1, "w": 24, "x": 0, - "y": 4 + "y": 5 }, "id": 20, "panels": [], @@ -479,9 +479,9 @@ "datasource": null, "gridPos": { "h": 4, - "w": 2, + "w": 4, "x": 0, - "y": 5 + "y": 6 }, "id": 35, "options": { @@ -523,7 +523,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "On-Chain Progress", + "title": "On-Chain Refresh", "type": "gauge" }, { @@ -546,9 +546,9 @@ }, "gridPos": { "h": 4, - "w": 2, - "x": 2, - "y": 5 + "w": 4, + "x": 4, + "y": 6 }, "id": 16, "interval": null, @@ -597,7 +597,7 @@ "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Height", + "title": "Index Height", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -630,9 +630,9 @@ }, "gridPos": { "h": 4, - "w": 2, - "x": 4, - "y": 5 + "w": 4, + "x": 8, + "y": 6 }, "id": 14, "interval": null, @@ -684,7 +684,7 @@ "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Avg Full-Refresh Duration", + "title": "Full-Refresh Duration", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -716,9 +716,9 @@ }, "gridPos": { "h": 4, - "w": 2, - "x": 6, - "y": 5 + "w": 4, + "x": 12, + "y": 6 }, "id": 22, "interval": null, @@ -768,7 +768,7 @@ "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Avg Delta-Refresh Duration", + "title": "Delta-Refresh Duration", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -784,9 +784,9 @@ "datasource": null, "gridPos": { "h": 4, - "w": 2, - "x": 8, - "y": 5 + "w": 4, + "x": 16, + "y": 6 }, "id": 36, "options": { @@ -828,7 +828,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Meta Progress", + "title": "Meta Refresh", "type": "gauge" }, { @@ -836,9 +836,9 @@ "datasource": null, "gridPos": { "h": 4, - "w": 2, - "x": 10, - "y": 5 + "w": 4, + "x": 20, + "y": 6 }, "id": 12, "links": [], @@ -863,7 +863,7 @@ "nullValueMode": "connected", "thresholds": [ { - "color": "green", + "color": "rgb(255, 255, 255)", "value": null } ], @@ -884,7 +884,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Current #Miners on-chain", + "title": "#Miners Ping Reply", "type": "bargauge" }, { @@ -894,7 +894,7 @@ "h": 1, "w": 24, "x": 0, - "y": 9 + "y": 10 }, "id": 24, "panels": [], @@ -905,9 +905,9 @@ "datasource": null, "gridPos": { "h": 4, - "w": 2, + "w": 4, "x": 0, - "y": 10 + "y": 11 }, "id": 26, "options": { @@ -948,7 +948,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Full refresh progress", + "title": "Full Refresh", "type": "gauge" }, { @@ -971,9 +971,9 @@ }, "gridPos": { "h": 4, - "w": 2, - "x": 2, - "y": 10 + "w": 4, + "x": 4, + "y": 11 }, "id": 30, "interval": null, @@ -1022,7 +1022,7 @@ "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Last Refresh Duration", + "title": "Refresh Duration", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -1032,16 +1032,16 @@ "value": "null" } ], - "valueName": "current" + "valueName": "avg" }, { "cacheTimeout": null, "datasource": null, "gridPos": { "h": 4, - "w": 2, - "x": 4, - "y": 10 + "w": 4, + "x": 8, + "y": 11 }, "id": 28, "links": [], @@ -1057,12 +1057,8 @@ "min": 0, "thresholds": [ { - "color": "green", + "color": "rgb(255, 255, 255)", "value": null - }, - { - "color": "red", - "value": 80 } ], "title": "" @@ -1082,7 +1078,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Last Query-Ask Response", + "title": "Last Query-Ask Reply", "type": "bargauge" }, { @@ -1092,7 +1088,7 @@ "h": 1, "w": 24, "x": 0, - "y": 14 + "y": 15 }, "id": 32, "panels": [], @@ -1104,9 +1100,9 @@ "datasource": null, "gridPos": { "h": 4, - "w": 2, + "w": 4, "x": 0, - "y": 15 + "y": 16 }, "id": 34, "links": [], @@ -1156,8 +1152,92 @@ ], "timeFrom": null, "timeShift": null, - "title": "Refresh Progress", + "title": "Refresh", "type": "gauge" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": null, + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 16 + }, + "id": 37, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "options": {}, + "pluginVersion": "6.5.3", + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": true, + "lineColor": "rgb(31, 120, 193)", + "show": true, + "ymax": null, + "ymin": null + }, + "tableColumn": "", + "targets": [ + { + "expr": "textilefc_indexslashing_updated_height", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Index Height", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" } ], "refresh": "5s", @@ -1168,7 +1248,7 @@ "list": [] }, "time": { - "from": "now-5m", + "from": "now-30m", "to": "now" }, "timepicker": {