Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Insights not showing data in Azure Preview Portal

I have an existing web application on Azure with some very limited application insights monitoring (end point checks). I thought I would pull in the rest of the functionality so I added telemetry to my project following the instructions at http://azure.microsoft.com/en-us/documentation/articles/app-insights-start-monitoring-app-health-usage/. Everything went well and I was able to see that when I loaded a page with the instrumentation JavaScript it was indeed sending requests to azure and I was getting back no errors either in error code or in the errors array in the json response.

The GUID in the applications insights configuration file looks correct. I've also tried sending telemetry manually

private void GatherTelemetry()
{
    var telemetry = new TelemetryClient();
    telemetry.TrackEvent("FeedPageLoaded");
}

While all of these actions show up in the count in visual studio enter image description here

there is nothing in the portal. enter image description here

I have tried reopening the blades as well as logging out and in again.

What else can I try?

like image 578
stimms Avatar asked Nov 07 '14 19:11

stimms


People also ask

How to configure applicationinsights in azure?

Create a new Application Insight into our Azure Account After authentication, select new resource, and choose the option Monitoring + Management A new tab will be open. A new configuration window will appear, as shown in the image below. On the "Name" field set our ApplicationInsights configuration name. In my case, it will be called "Demo".

What is application insights and how does it work?

Visual Studio Application Insights monitors our live application to help us detect and diagnose performance issues and exceptions, and discover how our app is used. It can be used with a wide variety of application types. It works for apps that are hosted on our own on-premises IIS servers or on Azure VMs, as well as Azure web apps. 1.

How to send data from Azure portal to a specific app?

go to portal.azure.com and choose browse -> application insights and choose the app you are sending data for. you can double check by looking at the instrumentation key on the properties part.

How to find and diagnose performance issues with Azure application insights failures panel?

More information: Find and diagnose performance issues with Azure Application Insights Failures panel in Application Insights To open the Failurespanel, either select Failuresunder Investigateon the left pane or select the Failed requestsgraph. The exceptions table in Application Insights powers the Failurespanel.


2 Answers

here are things to confirm:

  1. if you are running your app from visual studio make sure there are events listed as sent from the output window (based on your screenshot above it looks good there)

  2. make sure you are using our latest SDKs. .11 had some breaking changes see here: http://blogs.msdn.com/b/visualstudioalm/archive/2014/10/21/application-insights-sdk-0-11-0-prerelease.aspx

  3. ensure the events are being sent to the AI endpoint in fiddler dc.services.visualstudio.com (looks like you are good here)

  4. go to portal.azure.com and choose browse -> application insights and choose the app you are sending data for. you can double check by looking at the instrumentation key on the properties part. another way to get back to the portal is through the deep links made available in visual studio. on the overview blade go to the diagnostic search part to see a tail of the last telemetry events collected.

  5. finally if you don't see data check for service issues here: http://azure.microsoft.com/en-us/status/

like image 200
vladjoanovic Avatar answered Nov 09 '22 16:11

vladjoanovic


I'm not 100% sure, but I believe that custom events aren't yet included in the charts you are looking at. Have you checked whether you can find the events using the search functionality?

like image 26
Addys Avatar answered Nov 09 '22 15:11

Addys