mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
reflow macro
This commit is contained in:
parent
573fac553c
commit
82cc605b5f
1 changed files with 6 additions and 1 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue