This article has not yet been verified against Umbraco 8.
The concepts and code examples might not work if you are running Umbraco 8.0 or a later version. If you are using Umbraco 7, this article is perfect for you!
You are more than welcome to report any issues found on the Documentation Issue Tracker.
Application Insights on Umbraco cloud
Installing application Insights
This guide will instruct you how to install Application Insights (AI) for your cloud solution.
First thing to have in place when installing AI is of course an AI resource on Azure, so go ahead and open your favorite browser and log onto the Azure Portal and spin up a new AI Resource.
After that, you can go ahead and grab your
instrumentation key, from the AI Resource overview
The next thing we need to look at is how to enable AI for your Umbraco solution.
The easiest way is to open your favorite Visual Studio instance, go to Package Manager Console and go
This will install Application Insights and all of its dependencies. It will also create an
Go ahead, open this file and paste in your
instrumentation key found in the previous section.
Upload the changes to your solution and that is it!
Application Insights limitations on Umbraco Cloud
Unless you have a dedicated Umbraco Cloud server, you are sharing resources with other Umbraco Cloud users. By default Application Insights is configured to provide information about resources allocated and used by the system, do note however that these can be a misrepresentation!
For further information check out Microsoft's own documentation of Application Insights