Application Insigths on Umbraco cloud

    Installing application Insights

    This guide will instruct you how to install Application Insights (AI) for your cloud solution.

    Azure portal

    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 Resouce overview

    alt text

    Cloud solution

    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

    Install-Package Microsoft.ApplicationInsights.Web

    This will install Application Ansights and all of its dependencies. It will also create an ApplicationInsights.config file.

    Go ahead, open this file and paste in your instrumentation key found in the previous section.

    alt text

    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!

    Microsoft documentation

    For further information check out Microsoft's own documentation of Application Insights