diff --git a/packages/beacon-node/src/util/workerEvents.ts b/packages/beacon-node/src/util/workerEvents.ts index 2ef208fed388..5cb4e7553f95 100644 --- a/packages/beacon-node/src/util/workerEvents.ts +++ b/packages/beacon-node/src/util/workerEvents.ts @@ -40,7 +40,7 @@ export function wireEventsOnWorkerThread( ) { events.emit(data.event, data.data); const [sec, nanoSec] = process.hrtime(data.posted); - metrics?.networkWorkerWireEventsOnWorkerThreadLatency.observe(sec + nanoSec / 1e9); + metrics?.networkWorkerWireEventsOnWorkerThreadLatencySec.observe(sec + nanoSec / 1e9); } }); @@ -77,7 +77,7 @@ export function wireEventsOnMainThread( ) { events.emit(data.event, data.data); const [sec, nanoSec] = process.hrtime(data.posted); - metrics?.networkWorkerWireEventsOnMainThreadLatency.observe(sec + nanoSec / 1e9); + metrics?.networkWorkerWireEventsOnMainThreadLatencySec.observe(sec + nanoSec / 1e9); } });