Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow diagnostic scopes names without dot #30177

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

lmolkova
Copy link
Member

ServiceBus message scope name consists of one word - Message:

https://github.com/azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/src/Diagnostics/DiagnosticProperty.cs#L31

However, ActivitySource (OTel) path ignores scopes that don't contain dot, i.e. servicebus tracing does not work in OTel.
We can't change scope name in ServiceBus because it'll affect the stable (AI SDK) path, so let's just allow such names as it seems to be harmless.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@lmolkova lmolkova merged commit 6b7a014 into Azure:main Jul 28, 2022
sofiar-msft pushed a commit to sofiar-msft/azure-sdk-for-net that referenced this pull request Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants