From c6f75a1b9308f253ec29606ae02de6bc9fcd1903 Mon Sep 17 00:00:00 2001 From: Lambda Date: Sun, 2 Jun 2024 15:56:58 +0000 Subject: [PATCH] Add tracing span for Ar::from_request() The fact that this is called for every request is somewhat obscured, it should be obvious in tracing at least. --- src/api/ruma_wrapper/axum.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/ruma_wrapper/axum.rs b/src/api/ruma_wrapper/axum.rs index c3c7c57d..33744e74 100644 --- a/src/api/ruma_wrapper/axum.rs +++ b/src/api/ruma_wrapper/axum.rs @@ -382,6 +382,7 @@ where { type Rejection = Error; + #[tracing::instrument("ar_from_request", skip_all)] async fn from_request( req: axum::extract::Request, _state: &S,