Expose Prometheus metrics counting the number of bytes send and received on streams per protocol.
libp2p_bytes { direction = "in", protocol = "/ipfs/kad/1.0.0" } 42
libp2p_bytes { direction = "out", protocol = "/ipfs/kad/1.0.0" } 42
Allows us to get an intuition of the bandwidth consumption of each of the libp2p protocols.
Not any time soon. Help is much appreciated.
Description
Expose Prometheus metrics counting the number of bytes send and received on streams per protocol.
Rough idea:
Motivation
Allows us to get an intuition of the bandwidth consumption of each of the libp2p protocols.
Requirements
Collectortrait from src/collector: Introduce Collector abstraction prometheus/client_rust#82Open questions
Are you planning to do it yourself in a pull request?
Not any time soon. Help is much appreciated.