Skip to content

Commit

Permalink
fix(o11y): history lookup not tracked (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
arein authored Nov 28, 2023
1 parent 80228a5 commit 136bfa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handlers/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ async fn handler_internal(
let latency_tracker = latency_tracker_start
.elapsed()
.unwrap_or(std::time::Duration::from_secs(0));
state.metrics.add_history_lookup();

{
let origin = headers
Expand Down

0 comments on commit 136bfa2

Please sign in to comment.