Skip to content

Commit 615625b

Browse files
committed
address comment
Signed-off-by: bufferflies <[email protected]>
1 parent a700b16 commit 615625b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/metrics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ var (
106106
Subsystem: "server",
107107
Name: "bucket_report_interval_seconds",
108108
Help: "Bucketed histogram of processing time (s) of handled bucket report requests.",
109-
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 29), // 0.1ms ~ 7hours
109+
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 23), // 0.1ms ~ 14m
110110
}, []string{"address", "store"})
111111

112112
regionHeartbeatHandleDuration = prometheus.NewHistogramVec(

server/statistics/buckets/metric.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var (
3434
Subsystem: "scheduler",
3535
Name: "bucket_task_duration",
3636
Help: "Bucketed histogram of processing time (s) of bucket task.",
37-
Buckets: prometheus.ExponentialBuckets(1, 1.4, 30), // 1s ~ 6.72 hours
37+
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 23), // 0.1ms ~ 14m
3838
}, []string{"type"})
3939
)
4040

0 commit comments

Comments
 (0)