| 1 | <?xml version="1.0" encoding="utf-8"?> | = | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings"> | 2 | <ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings"> | |
| 3 | <TelemetryInitializers> | 3 | <TelemetryInitializers> | |
| 4 | <Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector"/> | 4 | <Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector"/> | |
| 5 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/> | 5 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/> | |
| 6 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/> | 6 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/> | |
| 7 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/> | 7 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/> | |
| 8 | <Add Type="Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web"/> | 8 | <Add Type="Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web"/> | |
| 9 | <Add Type="Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web"> | 9 | <Add Type="Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web"> | |
| 10 | <!-- Extended list of bots: | 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--> | 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> | 12 | <Filters>search|spider|crawl|Bot|Monitor|AlwaysOn</Filters> | |
| 13 | </Add> | 13 | </Add> | |
| 14 | <Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/> | 14 | <Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/> | |
| 15 | <Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/> | 15 | <Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/> | |
| 16 | <Add Type="Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web"/> | 16 | <Add Type="Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web"/> | |
| 17 | <Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/> | 17 | <Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/> | |
| 18 | <Add Type="Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web"/> | 18 | <Add Type="Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web"/> | |
| 19 | <Add Type="Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web"/> | 19 | <Add Type="Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web"/> | |
| 20 | <Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/> | 20 | <Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/> | |
| 21 | </TelemetryInitializers> | 21 | </TelemetryInitializers> | |
| 22 | <TelemetryModules> | 22 | <TelemetryModules> | |
| 23 | <Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector"/> | <> | 23 | <Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector"> |
| 24 | <ExcludeComponentCorrelationHttpHeadersOnDomains> | |||
| 25 | <!-- | |||
| 26 | Requests to the following hostnames will not be modified by adding correlation headers. | |||
| 27 | Add entries here to exclude additional hostnames. | |||
| 28 | NOTE: this configuration will be lost upon NuGet upgrade. | |||
| 29 | --> | |||
| 30 | <Add>core.windows.net</Add> | |||
| 31 | <Add>core.chinacloudapi.cn</Add> | |||
| 32 | <Add>core.cloudapi.de</Add> | |||
| 33 | <Add>core.usgovcloudapi.net</Add> | |||
| 34 | <Add>localhost</Add> | |||
| 35 | <Add>127.0.0.1</Add> | |||
| 36 | </ExcludeComponentCorrelationHttpHeadersOnDomains> | |||
| 37 | <IncludeDiagnosticSourceActivities> | |||
| 38 | <Add>Microsoft.Azure.EventHubs</Add> | |||
| 39 | <Add>Microsoft.Azure.ServiceBus</Add> | |||
| 40 | </IncludeDiagnosticSourceActivities> | |||
| 41 | </Add> | |||
| 24 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector"> | = | 42 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector"> |
| 25 | <!-- | 43 | <!-- | |
| 26 | Use the following syntax here to collect additional performance counters: | 44 | Use the following syntax here to collect additional performance counters: | |
| 27 | 45 | |||
| 28 | <Counters> | 46 | <Counters> | |
| 29 | <Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" /> | 47 | <Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" /> | |
| 30 | ... | 48 | ... | |
| 31 | </Counters> | 49 | </Counters> | |
| 32 | 50 | |||
| 33 | PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName | 51 | PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName | |
| 34 | 52 | |||
| 35 | NOTE: performance counters configuration will be lost upon NuGet upgrade. | 53 | NOTE: performance counters configuration will be lost upon NuGet upgrade. | |
| 36 | 54 | |||
| 37 | The following placeholders are supported as InstanceName: | 55 | The following placeholders are supported as InstanceName: | |
| 38 | ??APP_WIN32_PROC?? - instance name of the application process for Win32 counters. | 56 | ??APP_WIN32_PROC?? - instance name of the application process for Win32 counters. | |
| 39 | ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters. | 57 | ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters. | |
| 40 | ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters. | 58 | ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters. | |
| 41 | --> | 59 | --> | |
| 42 | </Add> | 60 | </Add> | |
| 43 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector"/> | 61 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector"/> | |
| -+ | 62 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AppServicesHeartbeatTelemetryModule, Microsoft.AI.WindowsServer"/> | ||
| 63 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureInstanceMetadataTelemetryModule, Microsoft.AI.WindowsServer"> | |||
| 64 | <!-- | |||
| 65 | Remove individual fields collected here by adding them to the ApplicationInsighs.HeartbeatProvider | |||
| 66 | with the following syntax: | |||
| 67 | ||||
| 68 | <Add Type="Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsTelemetryModule, Microsoft.ApplicationInsights"> | |||
| 69 | <ExcludedHeartbeatProperties> | |||
| 70 | <Add>osType</Add> | |||
| 71 | <Add>location</Add> | |||
| 72 | <Add>name</Add> | |||
| 73 | <Add>offer</Add> | |||
| 74 | <Add>platformFaultDomain</Add> | |||
| 75 | <Add>platformUpdateDomain</Add> | |||
| 76 | <Add>publisher</Add> | |||
| 77 | <Add>sku</Add> | |||
| 78 | <Add>version</Add> | |||
| 79 | <Add>vmId</Add> | |||
| 80 | <Add>vmSize</Add> | |||
| 81 | <Add>subscriptionId</Add> | |||
| 82 | <Add>resourceGroupName</Add> | |||
| 83 | <Add>placementGroupId</Add> | |||
| 84 | <Add>tags</Add> | |||
| 85 | <Add>vmScaleSetName</Add> | |||
| 86 | </ExcludedHeartbeatProperties> | |||
| 87 | </Add> | |||
| 88 | ||||
| 89 | NOTE: exclusions will be lost upon upgrade. | |||
| 90 | --> | |||
| 91 | </Add> | |||
| 44 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/> | = | 92 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/> |
| 45 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer"/> | 93 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer"/> | |
| 46 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer"/> | <> | 94 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer"> |
| 95 | <!--</Add> | |||
| 96 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.FirstChanceExceptionStatisticsTelemetryModule, Microsoft.AI.WindowsServer">--> | |||
| 97 | </Add> | |||
| 47 | <Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web"> | = | 98 | <Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web"> |
| 48 | <Handlers> | 99 | <Handlers> | |
| 49 | <!-- | 100 | <!-- | |
| 50 | Add entries here to filter out additional handlers: | 101 | Add entries here to filter out additional handlers: | |
| 51 | 102 | |||
| 52 | NOTE: handler configuration will be lost upon NuGet upgrade. | 103 | NOTE: handler configuration will be lost upon NuGet upgrade. | |
| 53 | --> | 104 | --> | |
| 54 | <Add>System.Web.Handlers.TransferRequestHandler</Add> | +- | ||
| 55 | <Add>Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add> | = | 105 | <Add>Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add> |
| 56 | <Add>System.Web.StaticFileHandler</Add> | 106 | <Add>System.Web.StaticFileHandler</Add> | |
| 57 | <Add>System.Web.Handlers.AssemblyResourceLoader</Add> | 107 | <Add>System.Web.Handlers.AssemblyResourceLoader</Add> | |
| 58 | <Add>System.Web.Optimization.BundleHandler</Add> | 108 | <Add>System.Web.Optimization.BundleHandler</Add> | |
| 59 | <Add>System.Web.Script.Services.ScriptHandlerFactory</Add> | 109 | <Add>System.Web.Script.Services.ScriptHandlerFactory</Add> | |
| 60 | <Add>System.Web.Handlers.TraceHandler</Add> | 110 | <Add>System.Web.Handlers.TraceHandler</Add> | |
| 61 | <Add>System.Web.Services.Discovery.DiscoveryRequestHandler</Add> | 111 | <Add>System.Web.Services.Discovery.DiscoveryRequestHandler</Add> | |
| 62 | <Add>System.Web.HttpDebugHandler</Add> | 112 | <Add>System.Web.HttpDebugHandler</Add> | |
| 63 | </Handlers> | 113 | </Handlers> | |
| 64 | </Add> | 114 | </Add> | |
| 65 | <Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/> | 115 | <Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/> | |
| -+ | 116 | <Add Type="Microsoft.ApplicationInsights.Web.AspNetDiagnosticTelemetryModule, Microsoft.AI.Web"/> | ||
| 66 | </TelemetryModules> | = | 117 | </TelemetryModules> |
| <> | 118 | <ApplicationIdProvider Type="Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId.ApplicationInsightsApplicationIdProvider, Microsoft.ApplicationInsights"/> | ||
| 119 | <TelemetrySinks> | |||
| 120 | <Add Name="default"> | |||
| 67 | <TelemetryProcessors> | 121 | <TelemetryProcessors> | |
| 68 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector"/> | 122 | <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector"/> | |
| 123 | <Add Type="Microsoft.ApplicationInsights.Extensibility.AutocollectedMetricsExtractor, Microsoft.ApplicationInsights"/> | |||
| 69 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel"> | 124 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel"> | |
| 70 | <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> | 125 | <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> | |
| 126 | <ExcludedTypes>Event</ExcludedTypes> | |||
| 71 | </Add> | 127 | </Add> | |
| 128 | <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel"> | |||
| 129 | <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> | |||
| 130 | <IncludedTypes>Event</IncludedTypes> | |||
| 131 | </Add> | |||
| 72 | </TelemetryProcessors> | 132 | </TelemetryProcessors> | |
| 73 | <TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/> | 133 | <TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/> | |
| 134 | </Add> | |||
| 135 | </TelemetrySinks> | |||
| 74 | <!-- | = | 136 | <!-- |
| 75 | Learn more about Application Insights configuration with ApplicationInsights.config here: | 137 | Learn more about Application Insights configuration with ApplicationInsights.config here: | |
| 76 | http://go.microsoft.com/fwlink/?LinkID=513840 | 138 | http://go.microsoft.com/fwlink/?LinkID=513840 | |
| 77 | 139 | |||
| 78 | Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file. | 140 | Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file. | |
| 79 | --></ApplicationInsights> | 141 | --></ApplicationInsights> |