I have a problem with Application Insights on Azure App Service. The problem is that SQL Dependencies in Command property is not showing the generated SQL.
I can only see <server_name> | <database_name>, whereas in the other app I can see the whole query.
The only differences between them are:
- Application Insights SDK version: 1.3 (where it works) vs newest (2.1.0)
- App service plan: Premium P2 (where it works) vs Standard S1
- The app service where it works was created few months earlier, but it is still new app service, not classic one.
I am not able to install AppInsights v1.3 (Azure installs newest version) nor easily change app service plan for app service where it is not working.
Why is this behaving differently? How can I see all of the generated SQL on the newest installation?
EDIT: I'm adding Insights packages installed on WebApp (from packages.config):
<package id="Microsoft.ApplicationInsights" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.1" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.DependencyCollector" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.JavaScript" version="0.15.0-build58334" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.PerfCounterCollector" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.TraceListener" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Web" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Web.TelemetryChannel" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.WindowsServer" version="2.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" version="2.1.0" targetFramework="net46" />