ApplicationInsights-dotnet icon indicating copy to clipboard operation
ApplicationInsights-dotnet copied to clipboard

What does EnableSqlCommandTextInstrumentation exactly do?

Open 304NotModified opened this issue 1 year ago • 0 comments

The XML docs are as follows:

https://github.com/microsoft/ApplicationInsights-dotnet/blob/f5377f2e8f1d3ae557c1064e8028c31b34876f9c/WEB/Src/DependencyCollector/DependencyCollector/DependencyTrackingTelemetryModule.cs#L74

But does that mean:

  • It also tracks the values of the parameters?
  • Is there a max size of the recorded query?
  • Are the SQL comments, for example EF Core Query tags also tracked?

304NotModified avatar Jul 23 '24 11:07 304NotModified