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