feat(tracing): add jsonrpsee targets to profiling filter (#21981)

This commit is contained in:
Georgios Konstantopoulos
2026-02-09 05:42:37 -08:00
committed by GitHub
parent 600eab20a5
commit 503b9b87a6

View File

@@ -12,8 +12,20 @@ use tracing::{level_filters::LevelFilter, Level};
/// Constant to convert megabytes to bytes
const MB_TO_BYTES: u64 = 1024 * 1024;
const PROFILER_TRACING_FILTER: &str =
"info,engine=debug,trie=debug,providers=debug,rpc=debug,sync=debug,pruner=debug,libmdbx=debug";
const PROFILER_TRACING_FILTER: &str = concat!(
"info",
",engine=debug",
",trie=debug",
",providers=debug",
",rpc=debug",
",sync=debug",
",pruner=debug",
",libmdbx=debug",
",jsonrpsee-server=debug",
",jsonrpsee-core=debug",
",jsonrpsee-http=debug",
",jsonrpsee=debug",
);
/// The log configuration.
#[derive(Debug, Args)]