diff --git a/registry/Cargo.toml b/registry/Cargo.toml index 9d1cd4b..53d7f67 100644 --- a/registry/Cargo.toml +++ b/registry/Cargo.toml @@ -44,7 +44,7 @@ tracing = { version = "0.1.41", features = ["attributes"] } tracing-subscriber = { version = "0.3.19", features = ["env-filter"] } tracing-actix-web = "0.7.15" -sentry = { version = "0.35.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "reqwest", "rustls"] } +sentry = { version = "0.35.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "reqwest", "rustls", "tracing"] } sentry-actix = "0.35.0" pesde = { path = "..", features = ["wally-compat"] } diff --git a/registry/src/main.rs b/registry/src/main.rs index 9c39bad..238b5c0 100644 --- a/registry/src/main.rs +++ b/registry/src/main.rs @@ -219,6 +219,7 @@ fn main() -> std::io::Result<()> { .compact() .with_span_events(FmtSpan::NEW | FmtSpan::CLOSE), ) + .with(sentry::integrations::tracing::layer()) .init(); let guard = sentry::init(sentry::ClientOptions {