Crate libp2p::metrics

source ·
Available on crate feature metrics only.
Expand description

Auxiliary crate recording protocol and Swarm events and exposing them as metrics in the OpenMetrics format.

See examples directory for more.

Structs

  • Set of Swarm and protocol metrics derived from emitted events.

Traits

  • Recorder that can record Swarm and protocol events.