chore: more adjustments to grafana (#10696)

This commit is contained in:
Oliver
2024-09-04 20:26:28 +02:00
committed by GitHub
parent a1d9ece3be
commit 8151c9a3c7

View File

@ -2648,7 +2648,7 @@
"panels": [], "panels": [],
"repeat": "instance", "repeat": "instance",
"repeatDirection": "h", "repeatDirection": "h",
"title": "Stage: Execution", "title": "Execution",
"type": "row" "type": "row"
}, },
{ {
@ -2656,7 +2656,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "${DS_PROMETHEUS}" "uid": "${DS_PROMETHEUS}"
}, },
"description": "The amount of gas processed by the executor per second.\n\nNote: For mainnet, the block range 2,383,397-2,620,384 will be slow because of the 2016 DoS attack.", "description": "The amount of gas processed by the execution in gas per second\n\nNote: For mainnet, the block range 2,383,397-2,620,384 will be slow because of the 2016 DoS attack.",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -2699,12 +2699,12 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
"unit": "gas/s", "unit": "si: gas/s"
"unitScale": true
}, },
"overrides": [] "overrides": []
}, },
@ -2731,52 +2731,16 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "${DS_PROMETHEUS}" "uid": "d5c021a2-e309-4059-9c15-852a2d9f9371"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "rate(reth_sync_execution_gas_per_second{instance=~\"$instance\"}[30s])", "expr": "reth_sync_execution_gas_per_second{instance=~\"$instance\"}",
"legendFormat": "Gas/s (30s)", "legendFormat": "Gas/s",
"range": true, "range": true,
"refId": "A" "refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(reth_sync_execution_gas_per_second{instance=~\"$instance\"}[1m])",
"hide": false,
"legendFormat": "Gas/s (1m)",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(reth_sync_execution_gas_per_second{instance=~\"$instance\"}[5m])",
"hide": false,
"legendFormat": "Gas/s (5m)",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(reth_sync_execution_gas_per_second{instance=~\"$instance\"}[10m])",
"hide": false,
"legendFormat": "Gas/s (10m)",
"range": true,
"refId": "D"
} }
], ],
"title": "Gas processed", "title": "Gas per second",
"type": "timeseries" "type": "timeseries"
}, },
{ {