NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2587 most downloaded on crates.io
Metrics for libp2p
Last release 26 days ago
11 Sep 2026
Release timing varies
gaps range from 9 days to 1.2 years
Nearly every release is documented
notes for 21 of 21 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
23 releases · first in 2021
One column per quarter.
Raise MSRV to 1.88.0. See PR 6273.
Update prometheus-client to 0.23.0. See PR 5960.
<!-- Update to libp2p-core v0.43.0 -->
<!-- Update to libp2p-core v0.43.0 -->
Use web-time instead of instant. See PR 5347.
web-time instead of instant.
See PR 5347.Nothing published for this version
Add BandwidthTransport, wrapping an existing Transport, exposing Prometheus bandwidth metrics. See also SwarmBuilder::with_bandwidth_metrics. See PR 4
BandwidthTransport, wrapping an existing Transport, exposing Prometheus bandwidth metrics.
See also SwarmBuilder::with_bandwidth_metrics.
See PR 4727.Add metrics for SwarmEvent::{NewExternalAddrCandidate,ExternalAddrConfirmed,ExternalAddrExpired}. See PR 4721.
SwarmEvent::{NewExternalAddrCandidate,ExternalAddrConfirmed,ExternalAddrExpired}.
See PR 4721.Enable gossipsub related data-type fields when compiling for wasm. See [PR 4217].
Previously libp2p-metrics::identify would increase a counter / gauge / histogram on each received identify information. These metrics are misleading,
Previously libp2p-metrics::identify would increase a counter / gauge / histogram on each
received identify information. These metrics are misleading, as e.g. they depend on the identify
interval and don't represent the set of currently connected peers. With this change, identify
information is tracked for the currently connected peers only. Instead of an increase on each
received identify information, metrics represent the status quo (Gauge).
Metrics removed:
libp2p_identify_protocolslibp2p_identify_received_info_listen_addrslibp2p_identify_received_info_protocolslibp2p_identify_listen_addressesMetrics added:
libp2p_identify_remote_protocolslibp2p_identify_remote_listen_addresseslibp2p_identify_local_observed_addressesSee PR 3325.
Raise MSRV to 1.65. See PR 3715.
Replace libp2p_swarm_connections_closed Counter with libp2p_swarm_connections_duration Histogram which additionally tracks the duration of a connection.
Note that you can use the _count metric of the Histogram as a replacement for the Counter.
See PR 3927.
Remove the pong_received counter because it is no longer exposed by libp2p-ping.
See PR 3947.
Update to prometheus-client v0.19.0. See [PR 3207].
Update to prometheus-client v0.19.0. See PR 3207.
Add connections_establishment_duration metric. See PR 3134.
Bump MSRV to 1.65.0.
Update to libp2p-core v0.39.0.
Update to libp2p-dcutr v0.9.0.
Update to libp2p-ping v0.42.0.
Update to libp2p-kad v0.43.0.
Update to libp2p-relay v0.15.0.
Update to libp2p-identify v0.42.0.
Update to libp2p-swarm v0.42.0.
Update to libp2p-identify v0.41.0.
Update to libp2p-dcutr v0.8.0.
Update to libp2p-identify v0.41.0.
Update to libp2p-relay v0.14.0.
Update to libp2p-core v0.38.0.
Update to libp2p-swarm v0.41.0.
Update to libp2p-ping v0.41.0.
Update to libp2p-kad v0.42.0.
Update to libp2p-gossipsub v0.43.0.
Add protocol_stack metrics. See PR 2982.
Update rust-version to reflect the actual MSRV: 1.62.0. See PR 3090.
Changed Metrics::query_result_get_record_ok from Histogram to a Counter.
See PR 2712.
Update to libp2p-swarm v0.40.0.
Update to libp2p-swarm v0.40.0.
Update to libp2p-dcutr v0.7.0.
Update to libp2p-ping v0.40.0.
Update to libp2p-identify v0.40.0.
Update to libp2p-relay v0.13.0.
Update to libp2p-kad v0.41.0.
Update to libp2p-core v0.37.0.
Update to libp2p-gossipsub v0.42.0.
Update to libp2p-swarm v0.39.0.
Update to libp2p-swarm v0.39.0.
Update to libp2p-dcutr v0.6.0.
Update to libp2p-ping v0.39.0.
Update to libp2p-identify v0.39.0.
Update to libp2p-relay v0.12.0.
Update to libp2p-kad v0.40.0.
Update to libp2p-core v0.36.0.
Update to libp2p-swarm v0.38.0.
Update to libp2p-swarm v0.38.0.
Update to libp2p-dcutr v0.5.0.
Update to libp2p-ping v0.38.0.
Update to libp2p-identify v0.38.0.
Update to libp2p-relay v0.11.0.
Update to libp2p-kad v0.39.0.
Track number of connected nodes supporting a specific protocol via the identify protocol. See PR 2734.
Update to libp2p-core v0.35.0.
Update to prometheus-client v0.18.0. See PR 2822.
Update to libp2p-swarm v0.37.0.
Update to libp2p-core v0.34.0.
Update to libp2p-swarm v0.37.0.
Update to libp2p-dcutr v0.4.0.
Update to libp2p-ping v0.37.0.
Update to libp2p-identify v0.37.0.
Update to libp2p-relay v0.10.0.
Update to libp2p-kad v0.38.0.
Update dcutr events from libp2p_relay_events to libp2p_dcutr_events, to avoid conflict with relay events.
dcutr events from libp2p_relay_events to libp2p_dcutr_events, to avoid conflict with relay events.Update to libp2p-swarm v0.36.0.
Update to libp2p-core v0.33.0.
Update to libp2p-swarm v0.36.0.
Update to libp2p-dcutr v0.3.0.
Update to libp2p-ping v0.36.0.
Update to libp2p-identify v0.36.0.
Update to libp2p-relay v0.9.0.
Update to libp2p-kad v0.37.0.
Update to prometheus-client v0.16.0. See PR 2631.
Update to libp2p-swarm v0.35.0.
Update to libp2p-swarm v0.35.0.
Update to libp2p-dcutr v0.2.0.
Update to libp2p-ping v0.35.0.
Update to libp2p-identify v0.35.0.
Update to libp2p-relay v0.8.0.
Update to libp2p-kad v0.36.0.
Update to libp2p-swarm v0.34.0.
Update to libp2p-core v0.32.0.
Update to libp2p-swarm v0.34.0.
Update to libp2p-ping v0.34.0.
Update to libp2p-identify v0.34.0.
Update to libp2p-relay v0.7.0.
Update to libp2p-kad v0.35.0.
Move from open-metrics-client to prometheus-client (see PR 2442).
Drop support for gossipsub in wasm32-unknown-unknown target (see PR 2506).
Migrate to Rust edition 2021 (see [PR 2339]).
Update dependencies.
Migrate to Rust edition 2021 (see PR 2339).
Include gossipsub metrics (see [PR 2316]).
Include gossipsub metrics (see PR 2316).
Update dependencies.
- Add initial version.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →