opentracing / opentracing-csharp

OpenTracing API for C# (.NET). 🛑 This library is DEPRECATED! https://github.com/opentracing/specification/issues/163
http://opentracing.io
Apache License 2.0
517 stars 73 forks source link

How I can kown which http request execute Entity Framework Core Command #125

Closed introspection3 closed 3 years ago

introspection3 commented 5 years ago

How I can kown which http request execute Entity Framework Core Command

cwe1ss commented 3 years ago

Sorry for the late response - it probably won't help you but maybe it helps someone else. This library is a set of interfaces that need to be implemented by a tracer (e.g. Jaeger) and by some instrumentation library.

If you already get spans for EF Core, then you're already using a OpenTracing-compatible instrumentation library. You need to check their docs/repos to see how they instrument the calling ASP.NET Core requests. If you're using OpenTracing.Contrib.NetCore your EF Core spans should automatically show up underneath your ASP.NET Core request spans.

Please comment with further details or open a new issue if this does not answer your question.