We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 648c4f4 commit e3d9755Copy full SHA for e3d9755
sentry-tower/src/http.rs
@@ -122,9 +122,11 @@ where
122
let headers = request.headers().into_iter().flat_map(|(header, value)| {
123
value.to_str().ok().map(|value| (header.as_str(), value))
124
});
125
+ let tx_name = format!("{} {}", request.method(), request.uri().path());
126
let tx_ctx = sentry_core::TransactionContext::continue_from_headers(
- // TODO: whats the name here?
127
- "", "http", headers,
+ &tx_name,
128
+ "http.server",
129
+ headers,
130
);
131
let transaction: sentry_core::TransactionOrSpan =
132
sentry_core::start_transaction(tx_ctx).into();
0 commit comments