Adalyat Nazirov
Adalyat Nazirov

Reputation: 1627

Application Insights Status Monitor doesn't track Sql dependencies for .Net Frameworks 4.5

I have a cloud service hosted application contains Web and Worker roles. To attach AppInsights telemetry I followed this article (https://learn.microsoft.com/en-us/azure/azure-monitor/app/cloudservices) including Sql Statements telemetry step. I've also relied on this sample (https://github.com/microsoft/ApplicationInsights-Home/tree/master/Samples/AzureEmailService)

After solution deployed I have all (http and azure storage) dependencies tracked, but sql.

Enviroment: .Net Framework v4.5, EntityFramework 6.1.3, Azure SDK 2.9.6

Nuget dependecies:

<package id="Microsoft.ApplicationInsights" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.4.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.DependencyCollector" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.JavaScript" version="1.0.0-build00159" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.PerfCounterCollector" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.TraceListener" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.Web" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.WindowsServer" version="2.10.0" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" version="2.10.0" targetFramework="net45" />

I've checked logs and can see that AppInsights Status Monitor has been installed successully.

Any ideas?

UPD

Found SDK version: rddf:2.10.0-32157

Any ideas how can I fix it to rddp?

Upvotes: 0

Views: 895

Answers (1)

Alex Klimov
Alex Klimov

Reputation: 11

I'm Alex from Microsoft. My team works on cloud services extension. It appears we have a problem with installing Status Monitor for you to enable SQL tracking. My apologies.

Would that be possible for you to install Status Monitor by yourself as work-around on your Web and Worker roles as described here: https://learn.microsoft.com/en-us/azure/azure-monitor/app/status-monitor-v2-api-enable-instrumentation-engine ?

Upvotes: 1

Related Questions