diff --git a/Cargo.lock b/Cargo.lock index e01275b2e6..ba8c367d53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4902,17 +4902,6 @@ dependencies = [ "tracing-subscriber", ] -[[package]] -name = "tracing-flame" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bae117ee14789185e129aaee5d93750abe67fdc5a9a62650452bfe4e122a3a9" -dependencies = [ - "lazy_static", - "tracing", - "tracing-subscriber", -] - [[package]] name = "tracing-futures" version = "0.2.5" @@ -5169,7 +5158,6 @@ dependencies = [ "tokio-util", "tracing", "tracing-error", - "tracing-flame", "tracing-subscriber", "url", "uuid", diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index f4206e1cc2..27df0265b4 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -48,7 +48,6 @@ const_format.workspace = true # to use tokio channels as streams, this is faster to compile than async_stream # why is it only here? no other crate should use it, streams are rarely needed. tokio-stream = { version = "0.1.14" } -tracing-flame = "0.2.0" [dev-dependencies] byteorder.workspace = true diff --git a/libs/utils/src/logging.rs b/libs/utils/src/logging.rs index 105ac5860b..502e02dc71 100644 --- a/libs/utils/src/logging.rs +++ b/libs/utils/src/logging.rs @@ -77,8 +77,6 @@ pub fn init( .unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("info")) }; - let (flame_layer, _guard) = tracing_flame::FlameLayer::with_file("./tracing.folded").unwrap(); - // NB: the order of the with() calls does not matter. // See https://docs.rs/tracing-subscriber/0.3.16/tracing_subscriber/layer/index.html#per-layer-filtering use tracing_subscriber::prelude::*; @@ -96,7 +94,6 @@ pub fn init( log_layer.with_filter(rust_log_env_filter()) }); let r = r.with(TracingEventCountLayer(&TRACING_EVENT_COUNT).with_filter(rust_log_env_filter())); - let r = r.with(flame_layer); match tracing_error_layer_enablement { TracingErrorLayerEnablement::EnableWithRustLogFilter => r .with(tracing_error::ErrorLayer::default().with_filter(rust_log_env_filter()))