From 5b67c2e3c8b65c0698e8906765127f464041b8aa Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Fri, 23 Feb 2024 20:23:51 -0600 Subject: [PATCH] Fix units on compact block ratio --- dashboards/blockchain/blockchain-state.json | 215 ++++++++++---------- 1 file changed, 110 insertions(+), 105 deletions(-) diff --git a/dashboards/blockchain/blockchain-state.json b/dashboards/blockchain/blockchain-state.json index 6116cbf..709fb1d 100644 --- a/dashboards/blockchain/blockchain-state.json +++ b/dashboards/blockchain/blockchain-state.json @@ -104,7 +104,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -171,7 +171,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -238,7 +238,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -304,7 +304,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -376,7 +376,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -443,7 +443,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -509,7 +509,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -577,7 +577,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -646,7 +646,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.3.1", + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -1259,7 +1259,7 @@ } ] }, - "unit": "percent", + "unit": "percentunit", "unitScale": true }, "overrides": [] @@ -1306,7 +1306,7 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "description": "Shows number of signage points per 9.375 seconds, averaged over the past 5 minutes. Target value is 1. This is an indication of timelord performance.\n\nRead more about signage points and the 9.375 second target here: https://docs.chia.net/docs/03consensus/signage_points_and_infusion_points/", + "description": "Estimated IPS for the network's quickest timelord, derived from the 'sub slot iters' value. On mainnet, this adjusts every 24 hours and every 4 hours on testnet. Expect this value to trail the actual fastest timelord's IPS by a minimum of one epoch.", "fieldConfig": { "defaults": { "color": { @@ -1318,7 +1318,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "barAlignment": 0, + "barAlignment": 1, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -1365,10 +1365,10 @@ "gridPos": { "h": 8, "w": 8, - "x": 8, - "y": 24 + "x": 16, + "y": 16 }, - "id": 42, + "id": 45, "options": { "legend": { "calcs": [], @@ -1389,23 +1389,101 @@ }, "editorMode": "code", "exemplar": false, - "expr": "max(\n rate(\n chia_full_node_total_signage_points{network=\"$network\",namespace!=\"chia-blockchain\"}[5m]\n ) * 9.375\n)", + "expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1,\n chia_full_node_sub_slot_iters{network=\"$network\"} !=0 \n )\n)/600", + "instant": false, + "interval": "1h", + "legendFormat": "IPS Estimate", + "refId": "A" + } + ], + "title": "IPS Estimate (Last Epoch)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PB06BBC9CA81C548D" + }, + "description": "Shows winning plot sizes for the selected timeframe.\n\nPlotting Docs: https://docs.chia.net/docs/03consensus/proof-of-space#plotting", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percentunit", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 0, + "y": 24 + }, + "id": 41, + "options": { + "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PB06BBC9CA81C548D" + }, + "exemplar": true, + "expr": "sum by(size) (\n rate(chia_full_node_k_size{application=\"chia-blockchain\", network=\"$network\", component=\"node\"}[$__range])) / \n ignoring(size) group_left sum(rate(chia_full_node_k_size{application=\"chia-blockchain\", network=\"$network\", component=\"node\"}[$__range])) != 0", "hide": false, "interval": "", - "legendFormat": "SPs/9.375s", - "range": true, + "legendFormat": "{{size}}", "refId": "B" } ], - "title": "Signage Points per 9.375s (Target 1)", - "type": "timeseries" + "title": "Plot K Size", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "pattern": "[0-9]{2}" + } + } + } + ], + "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "description": "Estimated IPS for the network's quickest timelord, derived from the 'sub slot iters' value. On mainnet, this adjusts every 24 hours and every 4 hours on testnet. Expect this value to trail the actual fastest timelord's IPS by a minimum of one epoch.", + "description": "Shows number of signage points per 9.375 seconds, averaged over the past 5 minutes. Target value is 1. This is an indication of timelord performance.\n\nRead more about signage points and the 9.375 second target here: https://docs.chia.net/docs/03consensus/signage_points_and_infusion_points/", "fieldConfig": { "defaults": { "color": { @@ -1417,7 +1495,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "barAlignment": 1, + "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -1464,10 +1542,10 @@ "gridPos": { "h": 8, "w": 8, - "x": 16, - "y": 16 + "x": 8, + "y": 24 }, - "id": 45, + "id": 42, "options": { "legend": { "calcs": [], @@ -1488,89 +1566,16 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1,\n chia_full_node_sub_slot_iters{network=\"$network\"} !=0 \n )\n)/600", - "instant": false, - "interval": "1h", - "legendFormat": "IPS Estimate", - "refId": "A" - } - ], - "title": "IPS Estimate (Last Epoch)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PB06BBC9CA81C548D" - }, - "description": "Shows winning plot sizes for the selected timeframe.\n\nPlotting Docs: https://docs.chia.net/docs/03consensus/proof-of-space#plotting", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 24 - }, - "id": 41, - "options": { - "displayMode": "gradient", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "valueMode": "color" - }, - "pluginVersion": "10.1.5", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PB06BBC9CA81C548D" - }, - "exemplar": true, - "expr": "sum by(size) (\n rate(chia_full_node_k_size{application=\"chia-blockchain\", network=\"$network\", component=\"node\"}[$__range])) / \n ignoring(size) group_left sum(rate(chia_full_node_k_size{application=\"chia-blockchain\", network=\"$network\", component=\"node\"}[$__range])) != 0", + "expr": "max(\n rate(\n chia_full_node_total_signage_points{network=\"$network\",namespace!=\"chia-blockchain\"}[5m]\n ) * 9.375\n)", "hide": false, "interval": "", - "legendFormat": "{{size}}", + "legendFormat": "SPs/9.375s", + "range": true, "refId": "B" } ], - "title": "Plot K Size", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "pattern": "[0-9]{2}" - } - } - } - ], - "type": "bargauge" + "title": "Signage Points per 9.375s (Target 1)", + "type": "timeseries" } ], "refresh": "", @@ -1582,7 +1587,7 @@ { "allValue": ".*", "current": { - "selected": true, + "selected": false, "text": "mainnet", "value": "mainnet" }, @@ -1618,6 +1623,6 @@ "timezone": "", "title": "Blockchain State", "uid": "CL1X4UWnk", - "version": 4, + "version": 10, "weekStart": "" }