Commit c201f3f1 authored by smartcontracts's avatar smartcontracts Committed by GitHub

feat(cmn): BSV2 collects default metrics (#2754)

Have BSV2 collect default node metrics
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 2040dc5f
---
'@eth-optimism/common-ts': patch
---
Collect default node metrics
...@@ -360,6 +360,12 @@ export abstract class BaseServiceV2< ...@@ -360,6 +360,12 @@ export abstract class BaseServiceV2<
}, },
1 1
) )
// Collect default node metrics.
prometheus.collectDefaultMetrics({
register: this.metricsRegistry,
labels: { name: params.name, version: params.version },
})
} }
/** /**
......
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