-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring Application Insights for Sitecore 8.2
Muhammad Naeem Ashraf edited this page Jun 30, 2017
·
11 revisions
Follow below procedure to configure Application Insights for Sitecore 8.2
- Create Application Insight(AI) service over Azure and get Instrumentationkey from properties blade under AI service (http://www.screencast.com/t/jMF2RUp8L)
- Install Nuget Package Microsoft.ApplicationInsights.Web version 2.1.0 to your Sitecore Website
- Copy Sitecore.Cloud.ApplicationInsights.config to *App_Config\Include\zzz* directory
- Copy Sitecore.Cloud.ApplicationInsights.dll to bin directory
- Add connection string to App_Config\ConnectionStrings.config file
<add name="appinsights.instrumentationkey" connectionString="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx" />
and update your InstrumentationKey accordingly - Add
<system.diagnostics> <trace autoflush="true" indentsize="0"> <listeners> <add name="myAppInsightsListener" type="Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener"/> </listeners> </trace> </system.diagnostics>
in <configuration>
section in web.config file
Run your website and monitor it through Application Insights over Azure :)