Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

ApplicationInsights.config 6.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
  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. <Counters>
  9. <Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
  10. ...
  11. </Counters>
  12. PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
  13. Counter names may only contain letters, round brackets, forward slashes, hyphens, underscores, spaces and dots.
  14. You may provide an optional ReportAs attribute which will be used as the metric name when reporting counter data.
  15. For the purposes of reporting, metric names will be sanitized by removing all invalid characters from the resulting metric name.
  16. NOTE: performance counters configuration will be lost upon NuGet upgrade.
  17. The following placeholders are supported as InstanceName:
  18. ??APP_WIN32_PROC?? - instance name of the application process for Win32 counters.
  19. ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
  20. ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
  21. -->
  22. </Add>
  23. <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector"/>
  24. <Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/>
  25. <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer"/>
  26. <Add Type="Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer"/>
  27. <Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web">
  28. <Handlers>
  29. <!--
  30. Add entries here to filter out additional handlers:
  31. NOTE: handler configuration will be lost upon NuGet upgrade.
  32. -->
  33. <Add>System.Web.Handlers.TransferRequestHandler</Add>
  34. <Add>Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add>
  35. <Add>System.Web.StaticFileHandler</Add>
  36. <Add>System.Web.Handlers.AssemblyResourceLoader</Add>
  37. <Add>System.Web.Optimization.BundleHandler</Add>
  38. <Add>System.Web.Script.Services.ScriptHandlerFactory</Add>
  39. <Add>System.Web.Handlers.TraceHandler</Add>
  40. <Add>System.Web.Services.Discovery.DiscoveryRequestHandler</Add>
  41. <Add>System.Web.HttpDebugHandler</Add>
  42. </Handlers>
  43. </Add>
  44. <Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/>
  45. </TelemetryModules>
  46. <TelemetryProcessors>
  47. <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector"/>
  48. <Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
  49. <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
  50. </Add>
  51. </TelemetryProcessors>
  52. <TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/>
  53. <!--
  54. Learn more about Application Insights configuration with ApplicationInsights.config here:
  55. http://go.microsoft.com/fwlink/?LinkID=513840
  56. Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
  57. -->
  58. <TelemetryInitializers>
  59. <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
  60. <Add Type="Microsoft.ApplicationInsights.WindowsServer.DomainNameRoleInstanceTelemetryInitializer, Microsoft.AI.WindowsServer"/>
  61. <Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/>
  62. <Add Type="Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web"/>
  63. <Add Type="Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web">
  64. <Filters>
  65. <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)"/>
  66. <Add Pattern="Slurp" SourceName="Yahoo Bot"/>
  67. <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)"
  68. SourceName="Spider"/>
  69. </Filters>
  70. </Add>
  71. <Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/>
  72. <Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/>
  73. <Add Type="Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web"/>
  74. <Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/>
  75. <Add Type="Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web"/>
  76. <Add Type="Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web"/>
  77. <Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/>
  78. </TelemetryInitializers>
  79. <InstrumentationKey>
  80. <!-- TODO Put your Instrumentation Key here -->
  81. </InstrumentationKey>
  82. </ApplicationInsights>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...