See https://github.com/ChainSafe/lodestar/pull/4737#issuecomment-1311438492 This library should be able to register its own metrics rather than rely on consumer to register its metrics. As a rough example see: https://github.com/libp2p/js-libp2p-tcp/pull/223