I have added Application Insights to my application.
After some time, I am correctly seeing the Browser Page Load Times, but none of the other graphs are showing any data at all.
I see this:
When I am expecting something along the lines of this:
These are two ASP.NET MVC 5 applications that are in the same solution, and both are deployed to Azure.
In both cases:
- I have the correct javascript fragment in my razor layout (and have verified via the page source when viewing the website that it is both getting output, and that a request is sent to
dc.services.visualstudio.com/v2/track
); - I have an
ApplicationInsights.config
in the web root; - I am setting the correct instrumentation key during application startup, in the
Application_Start()
method ofGlobal.asax.cs
by way ofTelemetryConfiguration.Active.InstrumentationKey = "the_key"
Please note that I DO NOT have the instrumentation key in the ApplicationInsights.config
file as I am deploying the website multiple times, and are setting the instrumentation key in accordance with this advice.
I've reset everything up (following Add Application Insights SDK to monitor your ASP.NET app) but still, after at least 1/2 an hour, I am not seeing anything for Server Response Time, Server Requests or Failed Requests.
How do I fix this?
dc.services.visualstudio.com/v2/track
endpoint. In all cases, I see the json payload that includes a timestamp and theiKey
, which is correct. – Brendan Green