review: update doc comment

This commit is contained in:
Vlad Lazar
2025-03-10 19:18:48 +01:00
parent cdb95d1a35
commit 1f3d655708

View File

@@ -133,7 +133,9 @@ fn init_tracing_internal<S>(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)