Open Telemetry traces for SqlClient are not getting exported to Console #3418
Unanswered
Trivedi-Ashish
asked this question in
Q&A
Replies: 1 comment
-
Not sure how much help we can offer, since the official SQLClient nuget is working, but your private local build is not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Open Telemetry traces for SqlClient are not getting exported to Console when I am using locally built sqlClient 4.1.0 DLL.
I have a sample application (.NET 6 Console app). I am connecting to local Sql server database from the application.
For debugging purposes, I am using SqlClient 4.1.0 locally built DLL.
I am able to debug the sqlClient without any issue but I am not able to see OpenTelemetry traces from SqlClient. I am exporting the traces to console.
If I use SqlClient 4.1.0 as a nuget package, then I am able to see the OpenTelemetry traces.
Package used for OpenTelemetry tracing:
Locally built DLLs:
Microsoft.Data.SqlClient 4.1.0
Beta Was this translation helpful? Give feedback.
All reactions