From cf762fa6e8365dbd764f4320ee47c24100b65486 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Fri, 18 Oct 2024 10:41:41 -0700 Subject: [PATCH] Change latency metrics buckets --- p2p/net/swarm/swarm_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/net/swarm/swarm_metrics.go b/p2p/net/swarm/swarm_metrics.go index 6da4993126..2413e9faed 100644 --- a/p2p/net/swarm/swarm_metrics.go +++ b/p2p/net/swarm/swarm_metrics.go @@ -82,7 +82,7 @@ var ( Namespace: metricNamespace, Name: "dial_latency_seconds", Help: "time taken to establish connection with the peer", - Buckets: []float64{0.001, 1.3, 35}, + Buckets: []float64{0.001, 0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.75, 1, 2}, }, []string{"outcome", "num_dials"}, )