Closed yhan closed 3 years ago
With the ".net runtime metrics" integration enabled, all sql queries are tracked
I don't believe that's the case? You can see which runtime metrics are tracked in the documentation, but this doesn't mention any SQL metrics?
I suppose also ingested as indexed spans to datadog?
With the ADO.NET automatic instrumentation, yes, you will see a span for each sql query
Is the tracing done in the same process as the instrumented process? what's the overhead of it?
We use the .NET Profiling APIs to instrument your application. This inserts our tracing code around the instrumented method calls. The exact overhead will vary depending on your application. Generally speaking there is a startup cost where we insert our instrumentation, but the subsequent runtime cost should be small. We have work ongoing (which should be available very soon) to reduce the runtime cost even further.
Can we enable/disable the sql tracing?
If you don't need automatic instrumentation of a specific integration, you can disable it as described in the documentation.
Hope that helps!
Thank you @andrewlock. This really helps!
Hi,
With the ".net runtime metrics" integration enabled, all sql queries are tracked, I suppose also ingested as indexed spans to datadog?
I can see that datadog substitute code during the JIT: