From 5aba7ea22298ecc45547973580456ed8d010e14a Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Tue, 15 Oct 2024 15:36:07 +0700 Subject: [PATCH] fix: update forkchoice grafana panels --- dashboards/lodestar_block_processor.json | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/dashboards/lodestar_block_processor.json b/dashboards/lodestar_block_processor.json index 3258efa72fc0..a945916308ab 100644 --- a/dashboards/lodestar_block_processor.json +++ b/dashboards/lodestar_block_processor.json @@ -3985,10 +3985,10 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": false + "showLegend": true }, "tooltip": { - "mode": "single", + "mode": "multi", "sort": "none" }, "tooltipOptions": { @@ -4001,10 +4001,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": false, "expr": "rate(beacon_fork_choice_find_head_seconds_sum[$rate_interval])/rate(beacon_fork_choice_find_head_seconds_count[$rate_interval])", "interval": "", - "legendFormat": "find head", + "legendFormat": "{{caller}}", + "range": true, "refId": "A" } ], @@ -4103,10 +4105,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": false, "expr": "beacon_fork_choice_errors_total", "interval": "", "legendFormat": "", + "range": true, "refId": "A" } ], @@ -4189,10 +4193,10 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { - "mode": "single", + "mode": "multi", "sort": "none" }, "tooltipOptions": { @@ -4205,10 +4209,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": false, "expr": "12 * rate(beacon_fork_choice_find_head_seconds_count[$rate_interval])", "interval": "", - "legendFormat": "updateHead calls", + "legendFormat": "{{caller}}_updateHead_calls", + "range": true, "refId": "A" }, { @@ -4228,11 +4234,13 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": false, "expr": "rate(beacon_fork_choice_find_head_seconds_sum[$rate_interval])", "hide": false, "interval": "", - "legendFormat": "usage rate", + "legendFormat": "{{caller}}_usage_rate", + "range": true, "refId": "C" } ],