Skip to content

Commit ce1683d

Browse files
authored
[Core] Change order of default tracing check (Azure#29770)
Opencensus plugin should be checked first, then Opentelemetry. Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
1 parent 6c3efa7 commit ce1683d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/core/azure-core/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Features Added
66

7-
- Updated settings to include OpenTelemetry which is now the default tracer provider. #29095
7+
- Updated settings to include OpenTelemetry as a tracer provider. #29095
88

99
### Other Changes
1010

sdk/core/azure-core/azure/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def convert_tracing_impl(value: Union[str, Type[AbstractSpan]]) -> Optional[Type
166166
"""
167167
if value is None:
168168
return (
169-
_get_opentelemetry_span_if_opentelemetry_is_imported() or _get_opencensus_span_if_opencensus_is_imported()
169+
_get_opencensus_span_if_opencensus_is_imported() or _get_opentelemetry_span_if_opentelemetry_is_imported()
170170
)
171171

172172
if not isinstance(value, str):

0 commit comments

Comments
 (0)