Skip to content

Commit

Permalink
Fix to request duration
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-herkamp committed Jan 21, 2025
1 parent 399a4ed commit 50c341b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nitro_repo/src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ impl Default for AppMetrics {
.build(),
request_duration: meter
.f64_histogram("http.server.request.duration")
.with_boundaries(vec![
0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1f64, 2.5, 5f64, 7.5,
10f64,
])
.with_unit("s")
.build(),
meter,
Expand Down

0 comments on commit 50c341b

Please sign in to comment.