Skip to content

Commit

Permalink
fix: adjust probe duration metric buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Dec 6, 2024
1 parent 697457d commit 7fcf45f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cached_addr_book.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ var (
Namespace: name,
Subsystem: Subsystem,
Help: "Duration of peer probing operations in seconds",
// Buckets probe durations from 1s to 5 minutes
Buckets: []float64{1, 2, 5, 10, 30, 60, 120, 300},
// Buckets probe durations from 5s to 15 minutes
Buckets: []float64{5, 10, 30, 60, 120, 300, 600, 900},
})

probedPeersCounter = promauto.NewCounter(prometheus.CounterOpts{
Expand Down

0 comments on commit 7fcf45f

Please sign in to comment.