mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-01-09 17:29:10 +00:00
feat(registry): add sentry tracing
This commit is contained in:
parent
0f74e2efa3
commit
28df3bcca4
2 changed files with 2 additions and 1 deletions
|
@ -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"] }
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue