Skip to content

Commit

Permalink
Update consensus/metrics.go
Browse files Browse the repository at this point in the history
Adjust buckets as per @cmwaters suggestion.

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
  • Loading branch information
jevonearth and cmwaters authored Apr 17, 2024
1 parent 5201fc6 commit fa79396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics {
Namespace: namespace,
Subsystem: MetricsSubsystem,
Name: "block_interval_seconds",
Buckets: []float64{10, 11, 12, 13, 14, 15, 20, 25, 30, 40, 50, 60},
Buckets: []float64{10, 11, 12, 13, 14, 15, 20, 30, 60},
Help: "Histogram of time intervals in seconds between consecutive blocks, capturing the distribution of block times as observed by this node.",
}, labels).With(labelsAndValues...),
NumTxs: prometheus.NewGaugeFrom(stdprometheus.GaugeOpts{
Expand Down

0 comments on commit fa79396

Please sign in to comment.