Skip to content

Commit 6386c67

Browse files
committed
Auto merge of #616 - Mark-Simulacrum:opt, r=Mark-Simulacrum
Refine endpoint histogram to be more finely bucketed
2 parents ff1a8d8 + d7ea524 commit 6386c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/metrics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl Metrics {
4141
prometheus::HistogramOpts::new(ENDPOINT_TIME, "duration of endpoint requests")
4242
// Exponential buckets, with 5ms as start and top bucket ending at
4343
// approximately 5 seconds.
44-
.buckets(prometheus::exponential_buckets(0.005, 1.5, 17).unwrap()),
44+
.buckets(prometheus::exponential_buckets(0.05, 1.2, 25).unwrap()),
4545
&["endpoint"]
4646
)?;
4747

0 commit comments

Comments
 (0)