From 1f3d65570893e0299e1dd764cc3dab76454bb361 Mon Sep 17 00:00:00 2001 From: Vlad Lazar Date: Mon, 10 Mar 2025 19:18:48 +0100 Subject: [PATCH] review: update doc comment --- libs/tracing-utils/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/tracing-utils/src/lib.rs b/libs/tracing-utils/src/lib.rs index 0ee97f5f79..6318a24b67 100644 --- a/libs/tracing-utils/src/lib.rs +++ b/libs/tracing-utils/src/lib.rs @@ -133,7 +133,9 @@ fn init_tracing_internal(service_name: String, export_config: ExportConfig) - where S: Subscriber + for<'span> LookupSpan<'span>, { - // Sets up exporter from the OTEL_EXPORTER_* environment variables. + // Sets up exporter from the provided [`ExportConfig`] parameter. + // If the endpoint is not specified, it is loaded from the + // OTEL_EXPORTER_OTLP_ENDPOINT environment variable. let exporter = opentelemetry_otlp::SpanExporter::builder() .with_http() .with_export_config(export_config)