SqlClient instrumentation doesn't work on netfx using Microsoft.Data.SqlClient 3.0.0 #1737
Labels
bug
Something isn't working
comp:instrumentation.sqlclient
Things related to OpenTelemetry.Instrumentation.SqlClient
New major release of SqlClient has changed their EventSource from this:
To this (PR open-telemetry/opentelemetry-dotnet#897):
Our
SqlEventSourceListener
expects 4 items in the payload (ObjectId, DataSource, Database, CommandText) but now gets only "Message" and doesn't log anything.It looks like we're unable to get the server/db anymore on netfx which is unfortunate. Opening this issue here to track resolution, but probably best to ask SqlClient team to make some changes in their EventSource if they can.
The text was updated successfully, but these errors were encountered: