Replace sentry-tracing with 'tracing' feature on core crate (#6227)
This commit is contained in:
parent
1366662cde
commit
5f10af4184
|
@ -3738,6 +3738,7 @@ dependencies = [
|
|||
"sentry-backtrace",
|
||||
"sentry-contexts",
|
||||
"sentry-core",
|
||||
"sentry-tracing",
|
||||
"tokio",
|
||||
"ureq",
|
||||
"webpki-roots",
|
||||
|
@ -5733,7 +5734,6 @@ dependencies = [
|
|||
"reqwest",
|
||||
"semver 1.0.16",
|
||||
"sentry",
|
||||
"sentry-tracing",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tempfile",
|
||||
|
|
|
@ -34,7 +34,7 @@ getblocktemplate-rpcs = [
|
|||
"zebra-chain/getblocktemplate-rpcs",
|
||||
]
|
||||
|
||||
sentry = ["dep:sentry", "sentry-tracing"]
|
||||
sentry = ["dep:sentry"]
|
||||
flamegraph = ["tracing-flame", "inferno"]
|
||||
journald = ["tracing-journald"]
|
||||
filter-reload = ["hyper"]
|
||||
|
@ -135,8 +135,7 @@ num-integer = "0.1.45"
|
|||
rand = { version = "0.8.5", package = "rand" }
|
||||
|
||||
# prod feature sentry
|
||||
sentry-tracing = { version = "0.29.3", optional = true }
|
||||
sentry = { version = "0.29.3", default-features = false, features = ["backtrace", "contexts", "reqwest", "rustls"], optional = true }
|
||||
sentry = { version = "0.29.3", default-features = false, features = ["backtrace", "contexts", "reqwest", "rustls", "tracing"], optional = true }
|
||||
|
||||
# prod feature flamegraph
|
||||
tracing-flame = { version = "0.2.0", optional = true }
|
||||
|
|
|
@ -154,7 +154,7 @@ impl Tracing {
|
|||
let subscriber = subscriber.with(journaldlayer);
|
||||
|
||||
#[cfg(feature = "sentry")]
|
||||
let subscriber = subscriber.with(sentry_tracing::layer());
|
||||
let subscriber = subscriber.with(sentry::integrations::tracing::layer());
|
||||
|
||||
// spawn the console server in the background, and apply the console layer
|
||||
// TODO: set Builder::poll_duration_histogram_max() if needed
|
||||
|
|
Loading…
Reference in New Issue