Skip to content

Commit

Permalink
client/network: Fix wrong metric help text (paritytech#6794)
Browse files Browse the repository at this point in the history
The `sub_libp2p_kademlia_query_duration` metric only has the dimension
`type` not `protocol`.
  • Loading branch information
mxinden authored Aug 3, 2020
1 parent 125f77d commit eb57b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ impl Metrics {
HistogramOpts {
common_opts: Opts::new(
"sub_libp2p_kademlia_query_duration",
"Duration of Kademlia queries per protocol and query type"
"Duration of Kademlia queries per query type"
),
buckets: prometheus_endpoint::exponential_buckets(0.5, 2.0, 10)
.expect("parameters are always valid values; qed"),
Expand Down

0 comments on commit eb57b07

Please sign in to comment.