diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index 72e86a4295a..0782a4c942d 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -2,6 +2,10 @@ - Update to `libp2p-swarm` `v0.35.0`. +- Fix gossipsub metric (see [PR 2558]). + +[PR 2558]: https://github.com/libp2p/rust-libp2p/pull/2558 + # 0.36.0 [2022-02-22] - Update to `libp2p-core` `v0.32.0`. diff --git a/protocols/gossipsub/src/metrics.rs b/protocols/gossipsub/src/metrics.rs index 648c8684f4d..574fbcfc341 100644 --- a/protocols/gossipsub/src/metrics.rs +++ b/protocols/gossipsub/src/metrics.rs @@ -182,7 +182,7 @@ impl Metrics { ); let rejected_messages = register_family!( - "accepted_messages_per_topic", + "rejected_messages_per_topic", "Number of rejected messages received for each topic" );