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