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.
This commit is contained in:
Lambda 2024-06-02 15:56:58 +00:00 committed by Charles Hall
parent dd6cda4519
commit c6f75a1b93
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -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,