diff --git a/dashboards/blockchain/blockchain-state.json b/dashboards/blockchain/blockchain-state.json index 109c2b9..4e8c002 100644 --- a/dashboards/blockchain/blockchain-state.json +++ b/dashboards/blockchain/blockchain-state.json @@ -81,7 +81,7 @@ }, "gridPos": { "h": 3, - "w": 4, + "w": 6, "x": 0, "y": 1 }, @@ -145,8 +145,8 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 4, + "w": 6, + "x": 6, "y": 1 }, "id": 19, @@ -209,8 +209,8 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 8, + "w": 6, + "x": 12, "y": 1 }, "id": 16, @@ -272,8 +272,8 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 12, + "w": 6, + "x": 18, "y": 1 }, "id": 20, @@ -315,7 +315,7 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "description": "Based on 86400 seconds in a day and a target of 4608 blocks in a day, we expect a block every 18.75 seconds.\n\nIf this number is less than 18.75, the chain is moving faster than the target and you would expect difficulty to increase at the next adjustment.\n\nIf the number is greater than 18.75, the chain is moving slower than the target, and you would expect difficulty to decrease at the next adjustment.", + "description": "A constant that adjusts periodically to ensure the chain moves at the desired rate of 4608 blocks per day.\n\nDocs: https://docs.chia.net/epoch-and-difficulty/", "fieldConfig": { "defaults": { "color": { @@ -336,11 +336,11 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 16, - "y": 1 + "w": 6, + "x": 0, + "y": 4 }, - "id": 25, + "id": 18, "options": { "colorMode": "value", "graphMode": "none", @@ -364,13 +364,13 @@ "uid": "PB06BBC9CA81C548D" }, "exemplar": false, - "expr": "$__range_s/(\n sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1, \n chia_blockchain_height{network=\"$network\"} or\n chia_full_node_node_height{network=\"$network\"}\n ) != 0\n ) - \n sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1, \n chia_blockchain_height{network=\"$network\"} offset $__range or\n chia_full_node_node_height{network=\"$network\"} offset $__range\n ) != 0\n )\n)", + "expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1,\n chia_blockchain_difficulty{network=\"$network\"} or\n chia_full_node_difficulty{network=\"$network\"} !=0 \n )\n)", "interval": "", "legendFormat": "Difficulty", "refId": "A" } ], - "title": "Seconds per Block (18.75 Target)", + "title": "Difficulty", "type": "stat" }, { @@ -378,7 +378,7 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "description": "A constant that adjusts periodically to ensure the chain moves at the desired rate of 4608 blocks per day.\n\nDocs: https://docs.chia.net/epoch-and-difficulty/", + "description": "A constant that adjusts periodically to ensure signage points are created at the desired rate\n\nDocs: https://docs.chia.net/epoch-and-difficulty/", "fieldConfig": { "defaults": { "color": { @@ -399,11 +399,11 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 0, + "w": 6, + "x": 6, "y": 4 }, - "id": 18, + "id": 43, "options": { "colorMode": "value", "graphMode": "none", @@ -426,14 +426,16 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, + "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_blockchain_difficulty{network=\"$network\"} or\n chia_full_node_difficulty{network=\"$network\"} !=0 \n )\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)", "interval": "", "legendFormat": "Difficulty", + "range": true, "refId": "A" } ], - "title": "Difficulty", + "title": "Sub Slot Iters", "type": "stat" }, { @@ -441,7 +443,7 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "description": "A constant that adjusts periodically to ensure signage points are created at the desired rate\n\nDocs: https://docs.chia.net/epoch-and-difficulty/", + "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": { @@ -462,11 +464,11 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 4, + "w": 6, + "x": 12, "y": 4 }, - "id": 43, + "id": 44, "options": { "colorMode": "value", "graphMode": "none", @@ -491,14 +493,15 @@ }, "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)", + "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": true, "interval": "", "legendFormat": "Difficulty", - "range": true, + "range": false, "refId": "A" } ], - "title": "Sub Slot Iters", + "title": "IPS Estimate (Last Epoch)", "type": "stat" }, { @@ -506,7 +509,7 @@ "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": "Based on 86400 seconds in a day and a target of 4608 blocks in a day, we expect a block every 18.75 seconds.\n\nIf this number is less than 18.75, the chain is moving faster than the target and you would expect difficulty to increase at the next adjustment.\n\nIf the number is greater than 18.75, the chain is moving slower than the target, and you would expect difficulty to decrease at the next adjustment.", "fieldConfig": { "defaults": { "color": { @@ -527,11 +530,11 @@ }, "gridPos": { "h": 3, - "w": 4, - "x": 8, + "w": 6, + "x": 18, "y": 4 }, - "id": 44, + "id": 25, "options": { "colorMode": "value", "graphMode": "none", @@ -554,16 +557,14 @@ "type": "prometheus", "uid": "PB06BBC9CA81C548D" }, - "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", + "expr": "$__range_s/(\n sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1, \n chia_blockchain_height{network=\"$network\"} or\n chia_full_node_node_height{network=\"$network\"}\n ) != 0\n ) - \n sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1, \n chia_blockchain_height{network=\"$network\"} offset $__range or\n chia_full_node_node_height{network=\"$network\"} offset $__range\n ) != 0\n )\n)", "interval": "", "legendFormat": "Difficulty", - "range": true, "refId": "A" } ], - "title": "IPS Estimate (Last Epoch)", + "title": "Seconds per Block (18.75 Target)", "type": "stat" }, { @@ -1194,6 +1195,101 @@ "title": "Signage Points per 9.375s (Target 1)", "type": "timeseries" }, + { + "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.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisPlacement": "auto", + "barAlignment": 1, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 16, + "y": 16 + }, + "id": 45, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PB06BBC9CA81C548D" + }, + "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", @@ -1222,8 +1318,8 @@ "gridPos": { "h": 8, "w": 8, - "x": 16, - "y": 16 + "x": 0, + "y": 24 }, "id": 41, "options": { @@ -1318,6 +1414,6 @@ "timezone": "", "title": "Blockchain State", "uid": "CL1X4UWnk", - "version": 31, + "version": 32, "weekStart": "" }