Open mahdiprog opened 1 year ago
According to Microsoft documentation, after SDK version 2.14.0, in order to send SQL query logs to App Insights, we need to add the following code snippet:
services.ConfigureTelemetryModule<DependencyTrackingTelemetryModule>((module, o) => { module. EnableSqlCommandTextInstrumentation = true; });
Description I couldn't find any place for enabling it in Serilog sink
Reproduction
Expected behavior There should be a way to enable it. within code and via appsettings
Relevant package, tooling and runtime versions Serilog.Sinks.ApplicationInsights V4.0.0
Additional context Add any other context about the problem here.
According to Microsoft documentation, after SDK version 2.14.0, in order to send SQL query logs to App Insights, we need to add the following code snippet:
Description I couldn't find any place for enabling it in Serilog sink
Reproduction
Expected behavior There should be a way to enable it. within code and via appsettings
Relevant package, tooling and runtime versions Serilog.Sinks.ApplicationInsights V4.0.0
Additional context Add any other context about the problem here.