File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1474,15 +1474,15 @@ def _apply_global_attributes_to_telemetry(
14741474 attributes ["sentry.sdk.version" ] = SDK_INFO ["version" ]
14751475
14761476 server_name = options .get ("server_name" )
1477- if server_name is not None :
1477+ if server_name is not None and SPANDATA . SERVER_ADDRESS not in attributes :
14781478 attributes [SPANDATA .SERVER_ADDRESS ] = server_name
14791479
14801480 environment = options .get ("environment" )
1481- if environment is not None :
1481+ if environment is not None and "sentry.environment" not in attributes :
14821482 attributes ["sentry.environment" ] = environment
14831483
14841484 release = options .get ("release" )
1485- if release is not None :
1485+ if release is not None and "sentry.release" not in attributes :
14861486 attributes ["sentry.release" ] = release
14871487
14881488 def _apply_user_attributes_to_telemetry (
You can’t perform that action at this time.
0 commit comments