Commit e7377089 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5476 from ethereum-optimism/jm/wd-mon-fix-metrics-label

fix(cmon): Use the correct 'layer' label
parents a09c7d01 707d8735
---
'@eth-optimism/chain-mon': patch
---
Fixes a bug in the wd-mon service where a node connection failure event was not handled correctly
......@@ -142,7 +142,7 @@ export class WithdrawalMonitor extends BaseServiceV2<Options, Metrics, State> {
section: 'getBlockNumber',
})
this.metrics.nodeConnectionFailures.inc({
chainId: this.state.messenger.l1ChainId,
layer: 'l1',
section: 'getBlockNumber',
})
await sleep(this.options.sleepTimeMs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment