diff --git a/lite_bootstrap/instruments/opentelemetry_instrument.py b/lite_bootstrap/instruments/opentelemetry_instrument.py index 01be551..e810801 100644 --- a/lite_bootstrap/instruments/opentelemetry_instrument.py +++ b/lite_bootstrap/instruments/opentelemetry_instrument.py @@ -56,8 +56,8 @@ def check_dependencies() -> bool: def bootstrap(self) -> None: attributes = { - resources.SERVICE_NAME: self.bootstrap_config.service_name - or self.bootstrap_config.opentelemetry_service_name, + resources.SERVICE_NAME: self.bootstrap_config.opentelemetry_service_name + or self.bootstrap_config.service_name, resources.TELEMETRY_SDK_LANGUAGE: "python", resources.SERVICE_NAMESPACE: self.bootstrap_config.opentelemetry_namespace, resources.SERVICE_VERSION: self.bootstrap_config.service_version,