opentelemetry-dotnet-contrib icon indicating copy to clipboard operation
opentelemetry-dotnet-contrib copied to clipboard

No tracing for database failures

Open AswinA147 opened this issue 3 years ago • 0 comments

Bug Report

List of all OpenTelemetry NuGet packages and version that you are using (e.g. OpenTelemetry 1.0.2): image

Expected behavior : - The expected behavior I wanted was to see all the database traces even in case of failures.

What did you expect to see? I want to see the reason for the failure in databases and also receive a message based on the failure during the time of the call.

Actual behavior : - The current behavior that is being seen is that all database success traces are being available via the jaeger and zipkin exporters. image

But the failure of any database does not generate any traces. image

What did you see instead? I have been seeing that sql auto instrumentation has been working only during the success calls between the application and databases. Which is also visible in the console output provided by the application. image

AswinA147 avatar Mar 13 '23 07:03 AswinA147