Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: bufferflies <1045931706@qq.com>
  • Loading branch information
bufferflies committed May 19, 2022
1 parent a700b16 commit 615625b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var (
Subsystem: "server",
Name: "bucket_report_interval_seconds",
Help: "Bucketed histogram of processing time (s) of handled bucket report requests.",
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 29), // 0.1ms ~ 7hours
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 23), // 0.1ms ~ 14m
}, []string{"address", "store"})

regionHeartbeatHandleDuration = prometheus.NewHistogramVec(
Expand Down
2 changes: 1 addition & 1 deletion server/statistics/buckets/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
Subsystem: "scheduler",
Name: "bucket_task_duration",
Help: "Bucketed histogram of processing time (s) of bucket task.",
Buckets: prometheus.ExponentialBuckets(1, 1.4, 30), // 1s ~ 6.72 hours
Buckets: prometheus.ExponentialBuckets(0.0001, 2, 23), // 0.1ms ~ 14m
}, []string{"type"})
)

Expand Down

0 comments on commit 615625b

Please sign in to comment.