Skip to content

Commit 5060de1

Browse files
committed
feat: more precise buckets on BlockTimeSloSeconds
1 parent 67c29fa commit 5060de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func NewWithRegistry(namespace string, registerer prometheus.Registerer) *Metric
149149
Namespace: namespace,
150150
Name: "block_time_seconds",
151151
Help: "time between consecutive blocks with histogram buckets for accurate SLO calculations",
152-
Buckets: []float64{0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 7.5, 10.0, 15.0, 20.0, 30.0},
152+
Buckets: []float64{0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1, 1.5, 2},
153153
},
154154
[]string{"chain_id"},
155155
),

0 commit comments

Comments
 (0)