mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user