Merge pull request #1150 from filecoin-project/feat/sync-dashboard

Sync dashboard to what we have on stats.testnet.filecoin.io
This commit is contained in:
Jakub Sztandera 2020-01-23 16:21:11 -08:00 committed by GitHub
commit b472ea371a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@
"panels": [ "panels": [
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": true,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
@ -70,7 +70,7 @@
"fill": 3, "fill": 3,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 16, "h": 9,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 0 "y": 0
@ -80,18 +80,18 @@
"interval": "", "interval": "",
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": false, "avg": true,
"current": true, "current": false,
"max": false, "max": false,
"min": false, "min": false,
"rightSide": true, "rightSide": true,
"show": true, "show": true,
"sort": "current", "sort": "avg",
"sortDesc": true, "sortDesc": true,
"total": false, "total": false,
"values": true "values": true
}, },
"lines": true, "lines": false,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "null",
"options": { "options": {
@ -131,7 +131,7 @@
"measurement": "chain.election", "measurement": "chain.election",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT moving_average(count(\"value\"), 10) FROM \"chain.election\" WHERE $timeFilter -10m GROUP BY time($__interval), \"miner\" fill(null)", "query": "SELECT count(\"value\") FROM \"chain.election\" WHERE $timeFilter -10m GROUP BY time($__interval), \"miner\" fill(null)",
"rawQuery": true, "rawQuery": true,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@ -214,9 +214,10 @@
"h": 4, "h": 4,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 16 "y": 9
}, },
"id": 22, "id": 22,
"interval": "",
"legend": { "legend": {
"avg": false, "avg": false,
"current": false, "current": false,
@ -268,7 +269,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeFrom": null, "timeFrom": "4h",
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Total Power", "title": "Total Power",
@ -287,9 +288,8 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 2,
"format": "bytes", "format": "bytes",
"label": "", "label": null,
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -329,9 +329,9 @@
}, },
"gridPos": { "gridPos": {
"h": 4, "h": 4,
"w": 8, "w": 4,
"x": 8, "x": 8,
"y": 16 "y": 9
}, },
"id": 12, "id": 12,
"interval": null, "interval": null,
@ -413,6 +413,122 @@
], ],
"valueName": "avg" "valueName": "avg"
}, },
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_INFLUXDB}",
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 9
},
"id": 42,
"interval": "",
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true,
"ymax": null,
"ymin": 0
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"value\") FROM \"chain.miner_power\" WHERE $timeFilter GROUP BY time(45s)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Network Storage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{ {
"cacheTimeout": null, "cacheTimeout": null,
"colorBackground": false, "colorBackground": false,
@ -435,7 +551,7 @@
"h": 4, "h": 4,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 16 "y": 9
}, },
"id": 6, "id": 6,
"interval": null, "interval": null,
@ -477,8 +593,15 @@
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"groupBy": [], "groupBy": [
"measurement": "chain.block_count", {
"params": [
"$interval"
],
"type": "time"
}
],
"measurement": "chain.election",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "A", "refId": "A",
@ -490,6 +613,10 @@
"value" "value"
], ],
"type": "field" "type": "field"
},
{
"params": [],
"type": "sum"
} }
] ]
], ],
@ -509,7 +636,7 @@
"value": "null" "value": "null"
} }
], ],
"valueName": "current" "valueName": "avg"
}, },
{ {
"cacheTimeout": null, "cacheTimeout": null,
@ -534,7 +661,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 0, "x": 0,
"y": 20 "y": 13
}, },
"id": 4, "id": 4,
"interval": null, "interval": null,
@ -632,7 +759,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 4, "x": 4,
"y": 20 "y": 13
}, },
"id": 14, "id": 14,
"interval": null, "interval": null,
@ -734,7 +861,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 8, "x": 8,
"y": 20 "y": 13
}, },
"id": 32, "id": 32,
"interval": null, "interval": null,
@ -849,7 +976,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 12, "x": 12,
"y": 20 "y": 13
}, },
"id": 20, "id": 20,
"interval": null, "interval": null,
@ -964,7 +1091,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 16, "x": 16,
"y": 20 "y": 13
}, },
"id": 8, "id": 8,
"interval": null, "interval": null,
@ -1079,7 +1206,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 20, "x": 20,
"y": 20 "y": 13
}, },
"id": 10, "id": 10,
"interval": null, "interval": null,
@ -1131,7 +1258,7 @@
}, },
{ {
"params": [ "params": [
"0" "null"
], ],
"type": "fill" "type": "fill"
} }
@ -1139,8 +1266,8 @@
"measurement": "chain.message_count", "measurement": "chain.message_count",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT sum(\"value\") FROM (SELECT \"value\" FROM \"chain.message_count\" GROUP BY \"height\") WHERE $timeFilter GROUP BY time($__interval) fill(0)", "query": "SELECT \"value\" FROM \"chain.message_count\" WHERE $timeFilter ",
"rawQuery": true, "rawQuery": false,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"select": [ "select": [
@ -1153,7 +1280,7 @@
}, },
{ {
"params": [], "params": [],
"type": "mean" "type": "sum"
} }
] ]
], ],
@ -1198,7 +1325,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 0, "x": 0,
"y": 23 "y": 16
}, },
"id": 16, "id": 16,
"interval": "", "interval": "",
@ -1293,16 +1420,16 @@
"h": 3, "h": 3,
"w": 16, "w": 16,
"x": 4, "x": 4,
"y": 23 "y": 16
}, },
"id": 2, "id": 2,
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": true, "avg": true,
"current": false, "current": true,
"hideEmpty": false, "hideEmpty": false,
"hideZero": false, "hideZero": false,
"max": false, "max": true,
"min": false, "min": false,
"rightSide": true, "rightSide": true,
"show": true, "show": true,
@ -1321,10 +1448,6 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{
"alias": "chain.height.difference",
"yaxis": 2
},
{ {
"alias": "Null Blocks", "alias": "Null Blocks",
"yaxis": 2 "yaxis": 2
@ -1399,7 +1522,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "", "title": "Tipsets",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
@ -1416,7 +1539,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "s", "format": "s",
"label": "Time delta", "label": "Time between tipsets",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -1425,7 +1548,7 @@
{ {
"decimals": 0, "decimals": 0,
"format": "short", "format": "short",
"label": "# null blocks", "label": "Number of Null blocks",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": "0", "min": "0",
@ -1459,7 +1582,7 @@
"h": 3, "h": 3,
"w": 4, "w": 4,
"x": 20, "x": 20,
"y": 23 "y": 16
}, },
"id": 30, "id": 30,
"interval": null, "interval": null,
@ -1540,10 +1663,10 @@
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 16, "h": 21,
"w": 4, "w": 4,
"x": 0, "x": 0,
"y": 26 "y": 19
}, },
"id": 28, "id": 28,
"options": {}, "options": {},
@ -1627,13 +1750,13 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
"fill": 4, "fill": 5,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 4, "x": 4,
"y": 26 "y": 19
}, },
"id": 40, "id": 40,
"interval": "", "interval": "",
@ -1641,8 +1764,8 @@
"alignAsTable": true, "alignAsTable": true,
"avg": false, "avg": false,
"current": true, "current": true,
"hideEmpty": false, "hideEmpty": true,
"hideZero": false, "hideZero": true,
"max": false, "max": false,
"min": false, "min": false,
"rightSide": true, "rightSide": true,
@ -1765,10 +1888,10 @@
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 16, "h": 21,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 26 "y": 19
}, },
"id": 18, "id": 18,
"options": {}, "options": {},
@ -1862,10 +1985,10 @@
"fill": 1, "fill": 1,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 6,
"w": 12, "w": 12,
"x": 4, "x": 4,
"y": 34 "y": 27
}, },
"id": 24, "id": 24,
"legend": { "legend": {
@ -1981,6 +2104,128 @@
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB}",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 4,
"y": 33
},
"id": 44,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "chain.miner_power",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT count(\"value\") FROM \"chain.miner_power\" WHERE $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Miners on Chain",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
@ -1990,7 +2235,7 @@
"h": 9, "h": 9,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 42 "y": 40
}, },
"id": 34, "id": 34,
"legend": { "legend": {
@ -2004,7 +2249,7 @@
"total": false, "total": false,
"values": false "values": false
}, },
"lines": true, "lines": false,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "null",
"options": { "options": {
@ -2050,8 +2295,6 @@
"measurement": "chain.message_count", "measurement": "chain.message_count",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT moving_average(count(\"value\"), 2) FROM \"chain.message_count\" WHERE $timeFilter -4m GROUP BY time($__interval), \"actor\", \"method\" fill(null)",
"rawQuery": true,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"select": [ "select": [
@ -2064,7 +2307,7 @@
}, },
{ {
"params": [], "params": [],
"type": "count" "type": "sum"
} }
] ]
], ],
@ -2114,35 +2357,35 @@
}, },
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": true,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_INFLUXDB}", "datasource": "${DS_INFLUXDB}",
"decimals": 2,
"fill": 1, "fill": 1,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 42 "y": 40
}, },
"id": 36, "id": 36,
"interval": "",
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": true, "avg": false,
"current": false, "current": false,
"max": true, "hideEmpty": true,
"hideZero": true,
"max": false,
"min": false, "min": false,
"rightSide": true, "rightSide": true,
"show": true, "show": true,
"sort": "avg", "sort": "avg",
"sortDesc": true, "sortDesc": false,
"total": false, "total": false,
"values": true "values": false
}, },
"lines": true, "lines": false,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "null",
"options": { "options": {
@ -2166,6 +2409,12 @@
], ],
"type": "time" "type": "time"
}, },
{
"params": [
"method"
],
"type": "tag"
},
{ {
"params": [ "params": [
"exitcode" "exitcode"
@ -2178,12 +2427,6 @@
], ],
"type": "tag" "type": "tag"
}, },
{
"params": [
"method"
],
"type": "tag"
},
{ {
"params": [ "params": [
"null" "null"
@ -2194,7 +2437,7 @@
"measurement": "chain.message_count", "measurement": "chain.message_count",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT moving_average(count(\"value\"), 10) FROM \"chain.message_count\" WHERE $timeFilter -10m GROUP BY time($__interval), \"exitcode\", \"actor\", \"method\" fill(null)", "query": "SELECT sum(\"value\") FROM \"chain.message_count\" WHERE $timeFilter GROUP BY time($__interval), \"method\", \"exitcode\", \"actor\" fill(null)",
"rawQuery": true, "rawQuery": true,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@ -2209,12 +2452,6 @@
{ {
"params": [], "params": [],
"type": "count" "type": "count"
},
{
"params": [
10
],
"type": "moving_average"
} }
] ]
], ],
@ -2241,7 +2478,6 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": null,
"format": "short", "format": "short",
"label": "", "label": "",
"logBase": 1, "logBase": 1,
@ -2264,7 +2500,7 @@
} }
} }
], ],
"refresh": "30s", "refresh": "45s",
"schemaVersion": 20, "schemaVersion": 20,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
@ -2280,6 +2516,7 @@
"5s", "5s",
"10s", "10s",
"30s", "30s",
"45s",
"1m", "1m",
"5m", "5m",
"15m", "15m",
@ -2292,5 +2529,5 @@
"timezone": "", "timezone": "",
"title": "Chain", "title": "Chain",
"uid": "z6FtI92Zz", "uid": "z6FtI92Zz",
"version": 8 "version": 9
} }