reflow macro

This commit is contained in:
Charles Hall 2024-06-22 16:53:23 -07:00
parent 573fac553c
commit 82cc605b5f
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -153,7 +153,12 @@ async fn run_server() -> Result<(), error::Serve> {
request.uri().path() request.uri().path()
}; };
tracing::info_span!("http_request", otel.name = path, %path, method = %request.method()) tracing::info_span!(
"http_request",
otel.name = path,
%path,
method = %request.method(),
)
}, },
)) ))
.layer(axum::middleware::from_fn(unrecognized_method)) .layer(axum::middleware::from_fn(unrecognized_method))