review: separate setting up otel tracing infra

This commit is contained in:
Vlad Lazar
2025-03-10 19:19:25 +01:00
parent 1f3d655708
commit 91aa9aef45
12 changed files with 7 additions and 13 deletions

View File

@@ -114,7 +114,6 @@ fn main() -> anyhow::Result<()> {
logging::init(
conf.log_format,
tracing_error_layer_enablement,
utils::logging::OtelEnablement::Disabled,
logging::Output::Stdout,
)?;

View File

@@ -5718,7 +5718,6 @@ pub(crate) mod harness {
// enable it in case the tests exercise code paths that use
// debug_assert_current_span_has_tenant_and_timeline_id
logging::TracingErrorLayerEnablement::EnableWithRustLogFilter,
utils::logging::OtelEnablement::Disabled,
logging::Output::Stdout,
)
.expect("Failed to init test logging");