client/network: Fix wrong metric help text (#6794)

The `sub_libp2p_kademlia_query_duration` metric only has the dimension
`type` not `protocol`.
This commit is contained in:
Max Inden authored and GitHub committed 2020-08-03 09:08:06 +00:00
1 parent 5a81eb86c4
commit 0553dabe32
1 file changed
+1 -1
+1 -1
View File
@@ -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"),