diff --git a/trace_exporters/src/lib.rs b/trace_exporters/src/lib.rs index d473af60f3..4eb08be2df 100644 --- a/trace_exporters/src/lib.rs +++ b/trace_exporters/src/lib.rs @@ -110,12 +110,17 @@ pub type Result = std::result::Result; #[cfg(feature = "jaeger")] fn jaeger_exporter(config: &TracingConfig) -> Result> { + use observability_deps::tracing::info; + let agent_endpoint = format!( "{}:{}", config.traces_exporter_jaeger_agent_host.trim(), config.traces_exporter_jaeger_agent_port ); + let service_name = &config.traces_exporter_jaeger_service_name; + info!(%agent_endpoint, %service_name, "Creating jaeger tracing exporter"); + let exporter = opentelemetry_jaeger::new_pipeline() .with_agent_endpoint(agent_endpoint) .with_service_name(&config.traces_exporter_jaeger_service_name)