Skip to content

Commit

Permalink
fix(grafana): set instance variable from reth_info metric (paradigm…
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin authored Oct 9, 2024
1 parent 67e83b6 commit f5d6844
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions etc/grafana/dashboards/reth-performance.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.2.0"
"version": "11.1.0"
},
{
"type": "datasource",
Expand Down Expand Up @@ -83,7 +83,6 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
Expand Down Expand Up @@ -137,9 +136,9 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
Expand Down Expand Up @@ -202,7 +201,6 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
Expand Down Expand Up @@ -256,9 +254,9 @@
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "right",
"showLegend": false
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
Expand Down Expand Up @@ -315,20 +313,20 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values($instance)",
"definition": "query_result(reth_info)",
"hide": 0,
"includeAll": false,
"label": "instance",
"multi": false,
"name": "instance",
"options": [],
"query": {
"qryType": 1,
"query": "label_values($instance)",
"qryType": 3,
"query": "query_result(reth_info)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"regex": "/.*instance=\\\"([^\\\"]*).*/",
"skipUrlSync": false,
"sort": 0,
"type": "query"
Expand All @@ -341,8 +339,8 @@
},
"timepicker": {},
"timezone": "browser",
"title": "Reth Performance",
"title": "Reth - Performance",
"uid": "bdywb3xjphfy8a",
"version": 2,
"weekStart": ""
}
}

0 comments on commit f5d6844

Please sign in to comment.