Skip to content

Commit

Permalink
Change latency metrics buckets (#3012)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo authored Oct 18, 2024
1 parent ed0d8c9 commit b1a0919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/swarm/swarm_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
)
Expand Down

0 comments on commit b1a0919

Please sign in to comment.