Skip to content

Commit

Permalink
Fix units on compact block ratio (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Feb 24, 2024
1 parent 7f16562 commit 23cc969
Showing 1 changed file with 110 additions and 105 deletions.
215 changes: 110 additions & 105 deletions dashboards/blockchain/blockchain-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -171,7 +171,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -238,7 +238,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -304,7 +304,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -376,7 +376,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -443,7 +443,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -509,7 +509,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -577,7 +577,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -646,7 +646,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "10.3.1",
"pluginVersion": "10.3.3",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1259,7 +1259,7 @@
}
]
},
"unit": "percent",
"unit": "percentunit",
"unitScale": true
},
"overrides": []
Expand Down Expand Up @@ -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": {
Expand All @@ -1318,7 +1318,7 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barAlignment": 1,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
Expand Down Expand Up @@ -1365,10 +1365,10 @@
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 24
"x": 16,
"y": 16
},
"id": 42,
"id": 45,
"options": {
"legend": {
"calcs": [],
Expand All @@ -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": {
Expand All @@ -1417,7 +1495,7 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 1,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
Expand Down Expand Up @@ -1464,10 +1542,10 @@
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 16
"x": 8,
"y": 24
},
"id": 45,
"id": 42,
"options": {
"legend": {
"calcs": [],
Expand All @@ -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": "",
Expand All @@ -1582,7 +1587,7 @@
{
"allValue": ".*",
"current": {
"selected": true,
"selected": false,
"text": "mainnet",
"value": "mainnet"
},
Expand Down Expand Up @@ -1618,6 +1623,6 @@
"timezone": "",
"title": "Blockchain State",
"uid": "CL1X4UWnk",
"version": 4,
"version": 10,
"weekStart": ""
}

0 comments on commit 23cc969

Please sign in to comment.