From 6e4067e558f03a17720082c5dc99bd7fc928b084 Mon Sep 17 00:00:00 2001 From: matthewkeil Date: Fri, 11 Aug 2023 02:34:20 -0600 Subject: [PATCH] feat(dashboards): fix event loop lag panels --- dashboards/lodestar_vm_host.json | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/dashboards/lodestar_vm_host.json b/dashboards/lodestar_vm_host.json index 52e99637558c..7d320c0b06a7 100644 --- a/dashboards/lodestar_vm_host.json +++ b/dashboards/lodestar_vm_host.json @@ -1301,9 +1301,9 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "nodejs_eventloop_lag_seconds{job=~\"$beacon_job|beacon\"}", + "expr": "nodejs_eventloop_lag_seconds", "interval": "", - "legendFormat": "main_thread", + "legendFormat": "{{job}}", "range": true, "refId": "A" }, @@ -1330,18 +1330,6 @@ "legendFormat": "discv5_worker", "range": true, "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "nodejs_eventloop_lag_seconds{job=~\"$validator_job|validator\"}", - "interval": "", - "legendFormat": "main_thread", - "range": true, - "refId": "A" } ], "title": "Event Loop Lag", @@ -1439,9 +1427,9 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "avg_over_time(nodejs_eventloop_lag_seconds{job=~\"$beacon_job|beacon\"}[$rate_interval])", + "expr": "avg_over_time(nodejs_eventloop_lag_seconds[$rate_interval])", "interval": "", - "legendFormat": "main_thread", + "legendFormat": "{{job}}", "range": true, "refId": "A" }, @@ -1468,18 +1456,6 @@ "legendFormat": "discv5_worker", "range": true, "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "avg_over_time(nodejs_eventloop_lag_seconds{job=~\"$validator_job|validator\"}[$rate_interval])", - "interval": "", - "legendFormat": "main_thread", - "range": true, - "refId": "A" } ], "title": "Average Event Loop Lag",