Skip to content

Commit 51402ca

Browse files
authored
Merge pull request #58 from modern-python/fix-otl-service-name
fix otl service name choosing
2 parents caffad0 + 2eeb185 commit 51402ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lite_bootstrap/instruments/opentelemetry_instrument.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def check_dependencies() -> bool:
5656

5757
def bootstrap(self) -> None:
5858
attributes = {
59-
resources.SERVICE_NAME: self.bootstrap_config.service_name
60-
or self.bootstrap_config.opentelemetry_service_name,
59+
resources.SERVICE_NAME: self.bootstrap_config.opentelemetry_service_name
60+
or self.bootstrap_config.service_name,
6161
resources.TELEMETRY_SDK_LANGUAGE: "python",
6262
resources.SERVICE_NAMESPACE: self.bootstrap_config.opentelemetry_namespace,
6363
resources.SERVICE_VERSION: self.bootstrap_config.service_version,

0 commit comments

Comments
 (0)