|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration"> |
3 |
| - <PublicConfig> |
| 2 | +<DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration"> |
| 3 | + <PublicConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration"> |
4 | 4 | <WadCfg>
|
5 |
| - <DiagnosticMonitorConfiguration overallQuotaInMB="4096"> |
6 |
| - <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Error"/> |
7 |
| - <Logs scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Error" /> |
| 5 | + <DiagnosticMonitorConfiguration overallQuotaInMB="4096" sinks="applicationInsights.errors"> |
| 6 | + <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Error" /> |
8 | 7 | <Directories scheduledTransferPeriod="PT1M">
|
9 |
| - <IISLogs containerName ="wad-iis-logfiles" /> |
10 |
| - <FailedRequestLogs containerName ="wad-failedrequestlogs" /> |
| 8 | + <IISLogs containerName="wad-iis-logfiles" /> |
| 9 | + <FailedRequestLogs containerName="wad-failedrequestlogs" /> |
11 | 10 | </Directories>
|
12 |
| - <WindowsEventLog scheduledTransferPeriod="PT1M" > |
13 |
| - <DataSource name="Application!*" /> |
14 |
| - </WindowsEventLog> |
15 |
| - <CrashDumps containerName="wad-crashdumps" dumpType="Mini"> |
16 |
| - <CrashDumpConfiguration processName="WaIISHost.exe"/> |
17 |
| - <CrashDumpConfiguration processName="WaWorkerHost.exe"/> |
18 |
| - <CrashDumpConfiguration processName="w3wp.exe"/> |
19 |
| - </CrashDumps> |
20 | 11 | <PerformanceCounters scheduledTransferPeriod="PT1M">
|
21 | 12 | <PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
|
22 | 13 | <PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
|
|
27 | 18 | <PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
|
28 | 19 | <PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
|
29 | 20 | </PerformanceCounters>
|
| 21 | + <WindowsEventLog scheduledTransferPeriod="PT1M"> |
| 22 | + <DataSource name="Application!*" /> |
| 23 | + </WindowsEventLog> |
| 24 | + <CrashDumps> |
| 25 | + <CrashDumpConfiguration processName="WaIISHost.exe" /> |
| 26 | + <CrashDumpConfiguration processName="WaWorkerHost.exe" /> |
| 27 | + <CrashDumpConfiguration processName="w3wp.exe" /> |
| 28 | + </CrashDumps> |
| 29 | + <Logs scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Error" /> |
30 | 30 | </DiagnosticMonitorConfiguration>
|
| 31 | + <SinksConfig> |
| 32 | + <Sink name="applicationInsights"> |
| 33 | + <ApplicationInsights /> |
| 34 | + <Channels> |
| 35 | + <Channel logLevel="Error" name="errors" /> |
| 36 | + </Channels> |
| 37 | + </Sink> |
| 38 | + </SinksConfig> |
31 | 39 | </WadCfg>
|
32 |
| - <StorageAccount></StorageAccount> |
| 40 | + <StorageAccount /> |
33 | 41 | </PublicConfig>
|
34 | 42 | <PrivateConfig>
|
35 | 43 | <StorageAccount name="" key="" endpoint="" />
|
|
0 commit comments