Skip to content

Commit

Permalink
Auto merge of #616 - Mark-Simulacrum:opt, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Refine endpoint histogram to be more finely bucketed
  • Loading branch information
bors committed Mar 8, 2022
2 parents ff1a8d8 + d7ea524 commit 6386c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl Metrics {
prometheus::HistogramOpts::new(ENDPOINT_TIME, "duration of endpoint requests")
// Exponential buckets, with 5ms as start and top bucket ending at
// approximately 5 seconds.
.buckets(prometheus::exponential_buckets(0.005, 1.5, 17).unwrap()),
.buckets(prometheus::exponential_buckets(0.05, 1.2, 25).unwrap()),
&["endpoint"]
)?;

Expand Down

0 comments on commit 6386c67

Please sign in to comment.