fix: replace broken canonicalization metrics (#8500)

This commit is contained in:
Dan Cline
2024-05-30 17:59:12 -04:00
committed by GitHub
parent 38fcae51f3
commit daad63827a
2 changed files with 63 additions and 200 deletions

View File

@ -4471,131 +4471,6 @@
"title": "Canonical Commit Latency time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"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": "s",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 154
},
"id": 158,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "reth_blockchain_tree_make_canonical_duration{instance=~\"$instance\", action=~\"$blockchain_tree_action\", quantile=\"0.5\"} ",
"instant": false,
"legendFormat": "${blockchain_tree_action} {{quantile}} percentile",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "reth_blockchain_tree_make_canonical_duration{instance=~\"$instance\", action=~\"$blockchain_tree_action\", quantile=\"0.95\"} ",
"hide": false,
"instant": false,
"legendFormat": "${blockchain_tree_action} {{quantile}} percentile",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "reth_blockchain_tree_make_canonical_duration{instance=~\"$instance\", action=~\"$blockchain_tree_action\", quantile=\"1\"} ",
"hide": false,
"instant": false,
"legendFormat": "${blockchain_tree_action} {{quantile}} percentile",
"range": true,
"refId": "C"
}
],
"title": "Canonicalization duration per action",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -8456,52 +8331,6 @@
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(reth_blockchain_tree_make_canonical_duration{instance=\"$instance\"},action)",
"hide": 0,
"includeAll": false,
"label": "Blockchain Tree Canonicalization Action",
"multi": false,
"name": "blockchain_tree_action",
"options": [],
"query": {
"query": "label_values(reth_blockchain_tree_make_canonical_duration{instance=\"$instance\"},action)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(reth_storage_providers_database_duration{instance=\"$instance\"},action)",
"hide": 0,
"includeAll": false,
"label": "Database Storage Providers Action",
"multi": false,
"name": "database_action",
"options": [],
"query": {
"query": "label_values(reth_storage_providers_database_duration{instance=\"$instance\"},action)",
"refId": "PrometheusVariableQueryEditor-DatabaseQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
@ -8515,4 +8344,4 @@
"uid": "2k8BXz24x",
"version": 1,
"weekStart": ""
}
}