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.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer" />
29- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer" />
30- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer" />
31- <Add Type =" Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web" >
32- <Handlers >
33- <!--
34- Add entries here to filter out additional handlers:
35-
36- NOTE: handler configuration will be lost upon NuGet upgrade.
37- -->
38- <Add >System.Web.Handlers.TransferRequestHandler</Add >
39- <Add >Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add >
40- <Add >System.Web.StaticFileHandler</Add >
41- <Add >System.Web.Handlers.AssemblyResourceLoader</Add >
42- <Add >System.Web.Optimization.BundleHandler</Add >
43- <Add >System.Web.Script.Services.ScriptHandlerFactory</Add >
44- <Add >System.Web.Handlers.TraceHandler</Add >
45- <Add >System.Web.Services.Discovery.DiscoveryRequestHandler</Add >
46- <Add >System.Web.HttpDebugHandler</Add >
47- </Handlers >
48- </Add >
49- <Add Type =" Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web" />
50- </TelemetryModules >
51- <TelemetryChannel Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel" />
52- <TelemetryProcessors >
53- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel" >
54- <MaxTelemetryItemsPerSecond >5</MaxTelemetryItemsPerSecond >
55- </Add >
56- </TelemetryProcessors >
57- <!--
58- Learn more about Application Insights configuration with ApplicationInsights.config here:
59- http://go.microsoft.com/fwlink/?LinkID=513840
60-
61- Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
62- -->
63- <TelemetryInitializers >
64- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
65- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.DomainNameRoleInstanceTelemetryInitializer, Microsoft.AI.WindowsServer" />
66- <Add Type =" Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer" />
67- <Add Type =" Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web" />
68- <Add Type =" Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web" >
69- <Filters >
70- <Add Pattern =" (YottaaMonitor|BrowserMob|HttpMonitor|YandexBot|BingPreview|PagePeeker|ThumbShotsBot|WebThumb|URL2PNG|ZooShot|GomezA|Catchpoint bot|Willow Internet Crawler|Google SketchUp|Read%20Later|KTXN|Pingdom|AlwaysOn)" />
71- <Add Pattern =" Slurp" SourceName =" Yahoo Bot" />
72- <Add Pattern =" (bot|zao|borg|Bot|oegp|silk|Xenu|zeal|^NING|crawl|Crawl|htdig|lycos|slurp|teoma|voila|yahoo|Sogou|CiBra|Nutch|^Java/|^JNLP/|Daumoa|Genieo|ichiro|larbin|pompos|Scrapy|snappy|speedy|spider|Spider|vortex|favicon|indexer|Riddler|scooter|scraper|scrubby|WhatWeb|WinHTTP|^voyager|archiver|Icarus6j|mogimogi|Netvibes|altavista|charlotte|findlinks|Retreiver|TLSProber|WordPress|wsr\-agent|Squrl Java|A6\-Indexer|netresearch|searchsight|http%20client|Python-urllib|dataparksearch|Screaming Frog|AppEngine-Google|YahooCacheSystem|semanticdiscovery|facebookexternalhit|Google.*/\+/web/snippet|Google-HTTP-Java-Client)" SourceName =" Spider" />
73- </Filters >
74- </Add >
75- <Add Type =" Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web" />
76- <Add Type =" Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web" />
77- <Add Type =" Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web" />
78- <Add Type =" Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web" />
79- <Add Type =" Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web" />
80- <Add Type =" Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web" />
81- <Add Type =" Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web" />
82- </TelemetryInitializers >
83- <InstrumentationKey >d22a4fe4-5144-4af4-b1f1-d98f283914d0</InstrumentationKey >
84- </ApplicationInsights >
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <ApplicationInsights xmlns =" http://schemas.microsoft.com/ApplicationInsights/2013/Settings" >
3+ <InstrumentationKey >d22a4fe4-5144-4af4-b1f1-d98f283914d0</InstrumentationKey >
4+ <TelemetryInitializers >
5+ <Add Type =" Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector" />
6+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
7+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer" />
8+ <Add Type =" Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web" />
9+ <Add Type =" Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web" >
10+ <!-- Extended list of bots:
11+ search|spider|crawl|Bot|Monitor|BrowserMob|BingPreview|PagePeeker|WebThumb|URL2PNG|ZooShot|GomezA|Google SketchUp|Read Later|KTXN|KHTE|Keynote|Pingdom|AlwaysOn|zao|borg|oegp|silk|Xenu|zeal|NING|htdig|lycos|slurp|teoma|voila|yahoo|Sogou|CiBra|Nutch|Java|JNLP|Daumoa|Genieo|ichiro|larbin|pompos|Scrapy|snappy|speedy|vortex|favicon|indexer|Riddler|scooter|scraper|scrubby|WhatWeb|WinHTTP|voyager|archiver|Icarus6j|mogimogi|Netvibes|altavista|charlotte|findlinks|Retreiver|TLSProber|WordPress|wsr-agent|http client|Python-urllib|AppEngine-Google|semanticdiscovery|facebookexternalhit|web/snippet|Google-HTTP-Java-Client-->
12+ <Filters >search|spider|crawl|Bot|Monitor|AlwaysOn</Filters >
13+ </Add >
14+ <Add Type =" Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web" />
15+ <Add Type =" Microsoft.ApplicationInsights.Web.AzureAppServiceRoleNameFromHostNameHeaderInitializer, Microsoft.AI.Web" />
16+ <Add Type =" Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web" />
17+ <Add Type =" Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web" />
18+ <Add Type =" Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web" />
19+ <Add Type =" Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web" />
20+ <Add Type =" Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web" />
21+ <Add Type =" Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web" />
22+ </TelemetryInitializers >
23+ <TelemetryModules >
24+ <Add Type =" Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector" >
25+ <ExcludeComponentCorrelationHttpHeadersOnDomains >
26+ <!--
27+ Requests to the following hostnames will not be modified by adding correlation headers.
28+ Add entries here to exclude additional hostnames.
29+ NOTE: this configuration will be lost upon NuGet upgrade.
30+ -->
31+ <Add >core.windows.net</Add >
32+ <Add >core.chinacloudapi.cn</Add >
33+ <Add >core.cloudapi.de</Add >
34+ <Add >core.usgovcloudapi.net</Add >
35+ </ExcludeComponentCorrelationHttpHeadersOnDomains >
36+ <IncludeDiagnosticSourceActivities >
37+ <Add >Microsoft.Azure.EventHubs</Add >
38+ <Add >Microsoft.Azure.ServiceBus</Add >
39+ </IncludeDiagnosticSourceActivities >
40+ </Add >
41+ <Add Type =" Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector" >
42+ <!--
43+ Use the following syntax here to collect additional performance counters:
44+
45+ <Counters>
46+ <Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
47+ ...
48+ </Counters>
49+
50+ PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
51+
52+ NOTE: performance counters configuration will be lost upon NuGet upgrade.
53+
54+ The following placeholders are supported as InstanceName:
55+ ??APP_WIN32_PROC?? - instance name of the application process for Win32 counters.
56+ ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
57+ ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
58+ -->
59+ </Add >
60+ <Add Type =" Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector" />
61+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.AppServicesHeartbeatTelemetryModule, Microsoft.AI.WindowsServer" />
62+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.AzureInstanceMetadataTelemetryModule, Microsoft.AI.WindowsServer" >
63+ <!--
64+ Remove individual fields collected here by adding them to the ApplicationInsighs.HeartbeatProvider
65+ with the following syntax:
66+
67+ <Add Type="Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsTelemetryModule, Microsoft.ApplicationInsights">
68+ <ExcludedHeartbeatProperties>
69+ <Add>osType</Add>
70+ <Add>location</Add>
71+ <Add>name</Add>
72+ <Add>offer</Add>
73+ <Add>platformFaultDomain</Add>
74+ <Add>platformUpdateDomain</Add>
75+ <Add>publisher</Add>
76+ <Add>sku</Add>
77+ <Add>version</Add>
78+ <Add>vmId</Add>
79+ <Add>vmSize</Add>
80+ <Add>subscriptionId</Add>
81+ <Add>resourceGroupName</Add>
82+ <Add>placementGroupId</Add>
83+ <Add>tags</Add>
84+ <Add>vmScaleSetName</Add>
85+ </ExcludedHeartbeatProperties>
86+ </Add>
87+
88+ NOTE: exclusions will be lost upon upgrade.
89+ -->
90+ </Add >
91+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer" />
92+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer" />
93+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer" >
94+ <!-- </Add>
95+ <Add Type="Microsoft.ApplicationInsights.WindowsServer.FirstChanceExceptionStatisticsTelemetryModule, Microsoft.AI.WindowsServer">-->
96+ </Add >
97+ <Add Type =" Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web" >
98+ <Handlers >
99+ <!--
100+ Add entries here to filter out additional handlers:
101+
102+ NOTE: handler configuration will be lost upon NuGet upgrade.
103+ -->
104+ <Add >Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add >
105+ <Add >System.Web.StaticFileHandler</Add >
106+ <Add >System.Web.Handlers.AssemblyResourceLoader</Add >
107+ <Add >System.Web.Optimization.BundleHandler</Add >
108+ <Add >System.Web.Script.Services.ScriptHandlerFactory</Add >
109+ <Add >System.Web.Handlers.TraceHandler</Add >
110+ <Add >System.Web.Services.Discovery.DiscoveryRequestHandler</Add >
111+ <Add >System.Web.HttpDebugHandler</Add >
112+ </Handlers >
113+ </Add >
114+ <Add Type =" Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web" />
115+ <Add Type =" Microsoft.ApplicationInsights.Web.AspNetDiagnosticTelemetryModule, Microsoft.AI.Web" />
116+ </TelemetryModules >
117+ <ApplicationIdProvider Type =" Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId.ApplicationInsightsApplicationIdProvider, Microsoft.ApplicationInsights" />
118+ <TelemetrySinks >
119+ <Add Name =" default" >
120+ <TelemetryProcessors >
121+ <Add Type =" Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector" />
122+ <Add Type =" Microsoft.ApplicationInsights.Extensibility.AutocollectedMetricsExtractor, Microsoft.ApplicationInsights" />
123+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel" >
124+ <MaxTelemetryItemsPerSecond >5</MaxTelemetryItemsPerSecond >
125+ <ExcludedTypes >Event</ExcludedTypes >
126+ </Add >
127+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel" >
128+ <MaxTelemetryItemsPerSecond >5</MaxTelemetryItemsPerSecond >
129+ <IncludedTypes >Event</IncludedTypes >
130+ </Add >
131+ </TelemetryProcessors >
132+ <TelemetryChannel Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel" />
133+ </Add >
134+ </TelemetrySinks >
135+ <!--
136+ Learn more about Application Insights configuration with ApplicationInsights.config here:
137+ http://go.microsoft.com/fwlink/?LinkID=513840
138+
139+ Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
140+ --> </ApplicationInsights >
0 commit comments