-
Notifications
You must be signed in to change notification settings - Fork 140
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
Problem with Azure ServiceBus distributed trace #5326
Comments
Hi @brunohdossantos, can you confirm the following information so I can help understand the setup you have:
|
Hi @zacharycmontoya , yes I have the variable DD_TRACE_OTEL_ENABLED=true, i am using the Azure.Messaging.ServiceBus version - 7.17.14 and Datadog.Trace in version 2.49, the apm version is also 2.49. When consuming the message, my service performs a _tracer.StartActive, could this be a problem? |
Anyone with the same error? Or with the same scenario and working without problems ? |
Has anyone experienced this problem, had a solution? |
Do we have a solution for this problem? |
I believe this also requires you to also set AZURE_EXPERIMENTAL_ENABLE_ACTIVITY_SOURCE to true, which injects traceparent into the message properties. This worked for me. |
Here I need to set this environment variable too: AZURE_EXPERIMENTAL_ENABLE_ACTIVITY_SOURCE |
|
@frankhaugen Apologies, it looks like this callout was moved to here: https://docs.datadoghq.com/opentelemetry/interoperability/instrumentation_libraries/?tab=net#verified-opentelemetry-instrumentation-libraries
@brunohdossantos was this by any chance the issue that you were running into? |
I am unable to use the distributed trace to communicate between services using Azure Service Bus, the trace is only working when a service A communicates with a service B through a web api. I'm using the latest version of dd-trace-dotnet and the Azure ServiceBus SDK. From what I understand after this update https://github.com/DataDog/dd-trace-dotnet/pull/4575/files#diff-426121b5cc1e2b68a3fb5aef68641547dd3488c59332d4a79adf23be9460545d the propagation of the necessary contexts would be done automatically. Has anyone had success in this scenario?
The text was updated successfully, but these errors were encountered: