diff --git a/dashboards/lodestar_networking.json b/dashboards/lodestar_networking.json index 4590955be79b..bfe70abc649a 100644 --- a/dashboards/lodestar_networking.json +++ b/dashboards/lodestar_networking.json @@ -959,7 +959,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": false, - "expr": "rate(lodestar_network_worker_wire_events_on_worker_thread_port_latency[6m])", + "expr": "rate(lodestar_network_worker_wire_events_on_worker_thread_latency[6m])", "interval": "", "legendFormat": "to worker thread", "refId": "to worker thread" @@ -970,7 +970,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": false, - "expr": "rate(lodestar_network_worker_wire_events_on_main_thread_port_latency[6m])", + "expr": "rate(lodestar_network_worker_wire_events_on_main_thread_latency[6m])", "hide": false, "interval": "", "legendFormat": "to main thread", diff --git a/packages/beacon-node/src/metrics/metrics/lodestar.ts b/packages/beacon-node/src/metrics/metrics/lodestar.ts index a8812d48b54a..f786bb530bd4 100644 --- a/packages/beacon-node/src/metrics/metrics/lodestar.ts +++ b/packages/beacon-node/src/metrics/metrics/lodestar.ts @@ -110,13 +110,8 @@ export function createLodestarMetrics( help: "Current count of pending items in reqRespBridgeReqCaller data structure", }), }, - networkWorkerWireEventsOnMainThreadEventLatency: register.histogram({ - name: "lodestar_network_worker_wire_events_on_main_thread_event_latency", - help: "Latency to re-emit network events on main thread event bus", - buckets: [0.001, 0.003, 0.01, 0.03, 0.1], - }), - networkWorkerWireEventsOnMainThreadPortLatency: register.histogram({ - name: "lodestar_network_worker_wire_events_on_main_thread_port_latency", + networkWorkerWireEventsOnMainThreadLatency: register.histogram({ + name: "lodestar_network_worker_wire_events_on_main_thread_latency", help: "Latency to transmit network events to main thread across worker port", buckets: [0.001, 0.003, 0.01, 0.03, 0.1], }), diff --git a/packages/beacon-node/src/network/core/metrics.ts b/packages/beacon-node/src/network/core/metrics.ts index 05d116dafb5c..080e3b97a48f 100644 --- a/packages/beacon-node/src/network/core/metrics.ts +++ b/packages/beacon-node/src/network/core/metrics.ts @@ -318,13 +318,8 @@ export function getNetworkCoreWorkerMetrics(register: RegistryMetricCreator) { name: "lodestar_network_worker_reqresp_bridge_caller_pending_count", help: "Current count of pending elements in respBridgeCaller", }), - networkWorkerWireEventsOnWorkerThreadEventLatency: register.histogram({ - name: "lodestar_network_worker_wire_events_on_worker_thread_event_latency", - help: "Latency to re-emit network events on worker thread event bus", - buckets: [0.001, 0.003, 0.01, 0.03, 0.1], - }), - networkWorkerWireEventsOnWorkerThreadPortLatency: register.histogram({ - name: "lodestar_network_worker_wire_events_on_worker_thread_port_latency", + networkWorkerWireEventsOnWorkerThreadLatency: register.histogram({ + name: "lodestar_network_worker_wire_events_on_worker_thread_latency", help: "Latency to transmit network events to worker thread across parent port", buckets: [0.001, 0.003, 0.01, 0.03, 0.1], }),