mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
don't hardcode EnvFilter for tracing-flame
This commit is contained in:
parent
7a154f7416
commit
507de063f5
1 changed files with 1 additions and 3 deletions
|
|
@ -60,10 +60,8 @@ pub(crate) fn init(config: &Config) -> Result<Guard, error::Observability> {
|
|||
FlameLayer::with_file("./tracing.folded")?;
|
||||
let flame_layer = flame_layer.with_empty_samples(false);
|
||||
|
||||
let filter_layer = EnvFilter::new("trace,h2=off");
|
||||
|
||||
Ok::<_, error::Observability>((
|
||||
flame_layer.with_filter(filter_layer),
|
||||
flame_layer.with_filter(config_filter_layer()?),
|
||||
guard,
|
||||
))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue