tvl-depot/tvix/tracing
Simon Hauser a857a2b978 feat(tvix/tracing): apply EnvFilter to all layers
Currently we apply the EnvFilter only to the stderr output writer.
This didn't affect any other layer, like the otlp layer, causing spans
from `h2`, `tokio_util` or other third party crate dependencies to be
always sent out via OTLP.

This changes that behaviour, applying EnvFilter to all exports, leading
to a lot less spans being exported.

Change-Id: I9f3a7233e9d0aeaa81fe08914579f0b3c80d134e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11813
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Simon Hauser <simon.hauser@helsinki-systems.de>
2024-06-14 10:18:59 +00:00
..
src feat(tvix/tracing): apply EnvFilter to all layers 2024-06-14 10:18:59 +00:00
Cargo.toml feat(tvix/tracing): correctly close otlp on exit 2024-06-14 09:34:51 +00:00
default.nix feat(tvix/tracing): introduce common tvix-tracing crate 2024-06-10 16:35:08 +00:00