diff --git a/src/telemetry.rs b/src/telemetry.rs index f280858..0212461 100644 --- a/src/telemetry.rs +++ b/src/telemetry.rs @@ -67,8 +67,7 @@ pub fn configure(config: &SubscriberConfig) -> Tracer { global::set_tracer_provider(tracer_provider.clone()); tracer_provider - .tracer_builder("prima-tracing") - .with_version(env!("CARGO_PKG_VERSION")) + .tracer_builder(telemetry.service_name.clone()) .build() }