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.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector" />
29
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer" />
30
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer" />
31
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer" />
32
+ <Add Type =" Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web" >
33
+ <Handlers >
34
+ <!--
35
+ Add entries here to filter out additional handlers:
36
+
37
+ NOTE: handler configuration will be lost upon NuGet upgrade.
38
+ -->
39
+ <Add >System.Web.Handlers.TransferRequestHandler</Add >
40
+ <Add >Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add >
41
+ <Add >System.Web.StaticFileHandler</Add >
42
+ <Add >System.Web.Handlers.AssemblyResourceLoader</Add >
43
+ <Add >System.Web.Optimization.BundleHandler</Add >
44
+ <Add >System.Web.Script.Services.ScriptHandlerFactory</Add >
45
+ <Add >System.Web.Handlers.TraceHandler</Add >
46
+ <Add >System.Web.Services.Discovery.DiscoveryRequestHandler</Add >
47
+ <Add >System.Web.HttpDebugHandler</Add >
48
+ </Handlers >
49
+ </Add >
50
+ <Add Type =" Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web" />
51
+ </TelemetryModules >
52
+ <TelemetryProcessors >
53
+ <Add Type =" Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector" />
54
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel" >
55
+ <MaxTelemetryItemsPerSecond >5</MaxTelemetryItemsPerSecond >
56
+ </Add >
57
+ </TelemetryProcessors >
58
+ <TelemetryChannel Type =" Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel" />
59
+ <!--
60
+ Learn more about Application Insights configuration with ApplicationInsights.config here:
61
+ http://go.microsoft.com/fwlink/?LinkID=513840
62
+
63
+ Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
64
+ -->
65
+ <TelemetryInitializers >
66
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
67
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.DomainNameRoleInstanceTelemetryInitializer, Microsoft.AI.WindowsServer" />
68
+ <Add Type =" Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer" />
69
+ <Add Type =" Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web" />
70
+ <Add Type =" Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web" >
71
+ <Filters >
72
+ <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)" />
73
+ <Add Pattern =" Slurp" SourceName =" Yahoo Bot" />
74
+ <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)"
75
+ SourceName=" Spider" />
76
+ </Filters >
77
+ </Add >
78
+ <Add Type =" Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web" />
79
+ <Add Type =" Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web" />
80
+ <Add Type =" Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web" />
81
+ <Add Type =" Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web" />
82
+ <Add Type =" Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web" />
83
+ <Add Type =" Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web" />
84
+ <Add Type =" Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web" />
85
+ </TelemetryInitializers >
86
+ </ApplicationInsights >
0 commit comments