rust-libp2p icon indicating copy to clipboard operation
rust-libp2p copied to clipboard

protocols/gossipsub: Consider feature-gating the metrics support

Open thomaseizinger opened this issue 3 years ago • 0 comments

Description

Currently, prometheus-client is a non-optional dependency of libp2p-gossipsub. Change it to an optional dependency, enabled by a feature flag (metrics f.e.)

Motivation

Not all users user the provided metric support. Making it optional reduces the dependency footprint.

Current Implementation

Are you planning to do it yourself in a pull request?

Maybe.

thomaseizinger avatar Sep 21 '22 01:09 thomaseizinger