Skip to content

Commit

Permalink
Add graph that shows actual paid FPC - instant, 1h, 1d, 7d (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Jan 18, 2024
1 parent c0bae89 commit 971ac7a
Showing 1 changed file with 157 additions and 4 deletions.
161 changes: 157 additions & 4 deletions dashboards/blockchain/mempool-transactions-fees.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 9,
"id": 2,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -66,6 +66,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -80,6 +81,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -160,6 +162,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -173,6 +176,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -306,6 +310,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -320,6 +325,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -400,6 +406,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -415,6 +422,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -564,6 +572,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -577,6 +586,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -683,6 +693,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -696,6 +707,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -832,6 +844,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -845,6 +858,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -949,6 +963,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -962,6 +977,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -1054,6 +1070,140 @@
"title": "Fee Estimate - Send Cat",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PB06BBC9CA81C548D"
},
"description": "This shows the fee per cost that was actually paid for transactions that have been included in blocks.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"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
}
]
},
"unit": "mojos"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 27
},
"id": 53,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PB06BBC9CA81C548D"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n topk(1, chia_full_node_block_fees{network=\"$network\"}/chia_full_node_block_cost{network=\"$network\"})\n)",
"interval": "",
"legendFormat": "Instant",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PB06BBC9CA81C548D"
},
"editorMode": "code",
"expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_fees{network=\"$network\",component!~\"bluebox\"}[1h])\n) \n/\nsum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_cost{network=\"$network\",component!~\"bluebox\"}[1h])\n)",
"hide": false,
"legendFormat": "1h Trailing",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PB06BBC9CA81C548D"
},
"editorMode": "code",
"expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_fees{network=\"$network\",component!~\"bluebox\"}[1d])\n) \n/\nsum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_cost{network=\"$network\",component!~\"bluebox\"}[1d])\n)",
"hide": false,
"legendFormat": "1d Trailing",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PB06BBC9CA81C548D"
},
"editorMode": "code",
"expr": "sum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_fees{network=\"$network\",component!~\"bluebox\"}[7d])\n) \n/\nsum without(cluster, application, component, pod, service, instance, namespace, job, instance_name, ref, container, group, endpoint, region) (\n sum_over_time(chia_full_node_block_cost{network=\"$network\",component!~\"bluebox\"}[7d])\n)",
"hide": false,
"legendFormat": "7d Trailing",
"range": true,
"refId": "D"
}
],
"title": "Block FPC",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
Expand All @@ -1066,6 +1216,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -1079,6 +1230,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -1183,6 +1335,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -1196,6 +1349,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -1291,8 +1445,7 @@
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": [
Expand Down Expand Up @@ -1335,6 +1488,6 @@
"timezone": "",
"title": "Mempool, Transactions, & Fees",
"uid": "46EAA05E",
"version": 20,
"version": 1,
"weekStart": ""
}

0 comments on commit 971ac7a

Please sign in to comment.