Skip to content

Commit

Permalink
feat(grafana): bad imports (paradigmxyz#7481)
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane authored Apr 5, 2024
1 parent 30cf405 commit 48ce632
Showing 1 changed file with 27 additions and 57 deletions.
84 changes: 27 additions & 57 deletions etc/grafana/dashboards/reth-mempool.json
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Tracks the number of transactions per second that are inserted and removed from the transaction pool, as well as the number of invalid transactions per second.",
"description": "Tracks the number of transactions per second that are inserted and removed from the transaction pool, as well as the number of invalid transactions per second.\n\nBad transactions are a subset of invalid transactions, these will never be successfully imported. The remaining invalid transactions have a chance of being imported, for example transactions with nonce gaps.\n\n",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -1226,6 +1226,23 @@
"range": true,
"refId": "C",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(reth_network_bad_imports{instance=\"$instance\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": false,
"instant": false,
"legendFormat": "Bad Transactions",
"range": true,
"refId": "D",
"useBackend": false
}
],
"title": "Inserted Transactions",
Expand Down Expand Up @@ -1899,32 +1916,7 @@
"unit": "cps",
"unitScale": true
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"All transactions by all senders"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
"overrides": []
},
"gridPos": {
"h": 8,
Expand Down Expand Up @@ -2387,32 +2379,7 @@
"unit": "cps",
"unitScale": true
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Eip4844"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
"overrides": []
},
"gridPos": {
"h": 8,
Expand Down Expand Up @@ -2554,7 +2521,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2705,7 +2673,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -2943,7 +2912,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -3337,6 +3307,6 @@
"timezone": "",
"title": "reth - mempool",
"uid": "bee34f59-c79c-4669-a000-198057b3703d",
"version": 6,
"version": 1,
"weekStart": ""
}

0 comments on commit 48ce632

Please sign in to comment.