-
Notifications
You must be signed in to change notification settings - Fork 142
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
DD_DBM_PROPAGATION_MODE = full on Azure App Service not working #6044
Comments
These dotnet-tracer-loader log files continue to pile up. |
I just did a fresh install of the extension and even with DD_DBM_PROPAGATION_MODE set to "service" with version 3.3.0 of the extension I get the same thing. |
Hi @jeremytbrun We are looking into this now. As a potential step could you try seeing if setting I'm unsure based on those logs if the Tracer is even initializing. |
Yes, I'll try this now. Stand by. |
Just did a clean install of v3.3.0 with DD_DBM_PROPAGATION_MODE set to disabled and I'm getting the same behavior. Confirmed that since I first updated from v3.2.0 to v3.3.0 I am not getting ANY trace data within Datadog from this service. Everything worked fine with v3.2.0 and DD_DBM_PROPAGATION_MODE set to service. |
Okay thanks for checking and confirming. I'm following up with other team members at the moment, I'm wondering if there is an issue with the |
I wondered the same but comparing the two most recent versions there really isn't much there other than the bump to the tracer library version. DataDog/datadog-aas-extension@dotnet-v3.2.000...dotnet-v3.3.000 |
If you could, could you try to enable We have a test AAS application running on I'm wondering if there is a way (maybe via commandline) to specify a specific version of the extension - Also please don't hesitate to also open a ticket here: https://help.datadoghq.com/hc/requests/new?tf_1260824651490=pt_product_type:apm&tf_1900004146284=pt_apm_language:.net But I will continue looking into it. |
I do have DD_TRACE_DEBUG set to on. Is there a log file you'd like to see? |
Would you be willing to share all of those logs with us? |
To clarify on this as I wasn't very clear sorry Would you be willing to share all of those logs with us via that support ticket and upload them that way so it can be done privately. :) |
Also, if you have profiling enabled, could you try without that to rule out whether it something within the Profiler part of the code?
|
Hi @jeremytbrun We think we've identified the cause of this issue and are working on a hotfix for this as soon as we can. We will keep you posted on this though. |
That's wonderful news. I will be able to do some more troubleshooting on this tomorrow. Also once this is working I should be able to see database query explain plans directly from an APM trace right? Like in this documentation. |
I was able to tinker with this more. I tried deleting my Azure App Service fully and redeploying again with the v3.3.0 of the extension. This time things seem to be working. But I can't explain why. This isn't the first time I've seen flakiness with the installation/startup process of the extension. I know in the Datadog documentation it explicitly says to Stop the app service before making configuration changes to the extension. I had done that multiple times already. Why does it need to be fully stopped before configuring/installing the extension? |
Things seem to be functioning. I do see a new context_info element in the query samples that are being picked up. Is this a reference to an APM trace? I'm not seeing what I'd expect based on the documentation where if I go to an APM trace I should be able to see a link back to the DBM query information. Documentation I'm talking about is here. |
Hey @jeremytbrun So we can track this better could you open a ticket for this DBM issue here (if you haven't already): https://help.datadoghq.com/hc/requests/new?tf_1260824651490=pt_product_type:apm&tf_1900004146284=pt_apm_language:.net We've let the team know and they'll start looking at it, but the ticket will help gather more information and track the status of this better. Thanks |
To answer your question, yes the context info is a reference to an APM trace (and span), this is how full propagation works for SQL server. |
To gain some time, you can attach the tracer debug logs to your support ticket, making sure it covers a time frame where at least one SQL request was made. |
Thank you. I've submitted a support ticket. With some relevant data. Request #1861599 |
Describe the bug
I have updated the Azure App Service to the latest version 3.3.0 in order to try full DD_DBM_PROPAGATION_MODE for SQL Server. Previously I was using service mode for DD_DBM_PROPAGATION_MODE and it was working fine. Now I'm getting no propagation data whatsoever. I noticed that upon startup the dotnet-tracer-loader-w3wp-.log is getting spammed with the following over and over again. See attached.
dotnet-tracer-loader-w3wp-6096.log
The text was updated successfully, but these errors were encountered: