Prepare home view
[wsti_pai.git] / Projects / ApplicationInsights.config
1 <?xml version="1.0" encoding="utf-8"?>
2 <ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
3         <TelemetryModules>
4                 <Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector"/>
5                 <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector">
6                         <!--
7       Use the following syntax here to collect additional performance counters:
8       
9       <Counters>
10         <Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
11         ...
12       </Counters>
13       
14       PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
15       
16       Counter names may only contain letters, round brackets, forward slashes, hyphens, underscores, spaces and dots.
17       You may provide an optional ReportAs attribute which will be used as the metric name when reporting counter data.
18       For the purposes of reporting, metric names will be sanitized by removing all invalid characters from the resulting metric name.
19       
20       NOTE: performance counters configuration will be lost upon NuGet upgrade.
21       
22       The following placeholders are supported as InstanceName:
23         ??APP_WIN32_PROC?? - instance name of the application process  for Win32 counters.
24         ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
25         ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
26       -->
27                 </Add>
28                 <Add Type="Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsTelemetryModule, Microsoft.ApplicationInsights"/>
29                 <Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/>
30                 <Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web"/>
31                 <Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/>
32         </TelemetryModules>
33         <TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/>
34 <!-- 
35     Learn more about Application Insights configuration with ApplicationInsights.config here: 
36     http://go.microsoft.com/fwlink/?LinkID=513840
37     
38     Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
39   -->
40 <TelemetryInitializers>
41 <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
42 <Add Type="Microsoft.ApplicationInsights.WindowsServer.DomainNameRoleInstanceTelemetryInitializer, Microsoft.AI.WindowsServer"/>
43 <Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/>
44 <Add Type="Microsoft.ApplicationInsights.WindowsServer.DeviceTelemetryInitializer, Microsoft.AI.WindowsServer"/>
45 <Add Type="Microsoft.ApplicationInsights.Web.SyntheticTelemetryInitializer, Microsoft.AI.Web"/>
46 <Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/>
47 <Add Type="Microsoft.ApplicationInsights.Web.UserAgentTelemetryInitializer, Microsoft.AI.Web"/>
48 <Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/>
49 <Add Type="Microsoft.ApplicationInsights.Web.OperationIdTelemetryInitializer, Microsoft.AI.Web"/>
50 <Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/>
51 <Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/>
52 </TelemetryInitializers>
53 <!-- 
54     Learn more about Application Insights configuration with ApplicationInsights.config here: 
55     http://go.microsoft.com/fwlink/?LinkID=513840
56     
57     Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
58   --></ApplicationInsights>