Record the axum route in the Sentry context

This commit is contained in:
Quentin Gliech
2025-04-28 17:12:51 +02:00
parent 34d404b093
commit 53836fbc13
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -5554,6 +5554,7 @@ version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b98005537e38ee3bc10e7d36e7febe9b8e573d03f2ddd85fcdf05d21f9abd6d"
dependencies = [
"axum",
"http",
"pin-project",
"sentry-core",

View File

@@ -332,7 +332,7 @@ features = ["backtrace", "contexts", "panic", "tower", "reqwest"]
# Sentry tower layer
[workspace.dependencies.sentry-tower]
version = "0.37.0"
features = ["http"]
features = ["http", "axum-matched-path"]
# Sentry tracing integration
[workspace.dependencies.sentry-tracing]