diff --git a/consensus/metrics.go b/consensus/metrics.go index fa7573c84..6ee6c59dc 100644 --- a/consensus/metrics.go +++ b/consensus/metrics.go @@ -183,7 +183,8 @@ func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics { Namespace: namespace, Subsystem: MetricsSubsystem, Name: "block_interval_seconds", - Help: "Time between this and the last block.", + 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{ Namespace: namespace,