Created
October 27, 2014 15:17
-
-
Save nickheppleston/972c7bf930295dd3a732 to your computer and use it in GitHub Desktop.
Azure Worker Role Diagnostics Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<DiagnosticMonitorConfiguration configurationChangePollInterval="PT5M" overallQuotaInMB="4096" xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration"> | |
<DiagnosticInfrastructureLogs scheduledTransferPeriod="PT5M" /> | |
<Directories scheduledTransferPeriod="PT1M"> | |
<CrashDumps container="wad-crash-dumps" /> | |
<DataSources> | |
<DirectoryConfiguration container="wad-nlog2" directoryQuotaInMB="512"> | |
<LocalResource relativePath="." name="CustomLogs" /> | |
</DirectoryConfiguration> | |
</DataSources> | |
</Directories> | |
<Logs bufferQuotaInMB="1024" scheduledTransferPeriod="PT15M" scheduledTransferLogLevelFilter="Error" /> | |
<PerformanceCounters bufferQuotaInMB="512" scheduledTransferPeriod="PT15M"> | |
<PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" /> | |
<PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT1S" /> | |
<PerformanceCounterConfiguration counterSpecifier="\Memory\Committed Bytes" sampleRate="PT1S" /> | |
<PerformanceCounterConfiguration counterSpecifier="\LogicalDisk(_Total)\Disk Read Bytes/sec" sampleRate="PT1S" /> | |
<PerformanceCounterConfiguration counterSpecifier="\Process(WaWorkerHost)\% Processor Time" sampleRate="PT1S" /> | |
<PerformanceCounterConfiguration counterSpecifier="\Process(WaWorkerHost)\Private Bytes" sampleRate="PT1S" /> | |
<PerformanceCounterConfiguration counterSpecifier="\Process(WaWorkerHost)\Thread Count" sampleRate="PT1S" /> | |
</PerformanceCounters> | |
<WindowsEventLog bufferQuotaInMB="1024" scheduledTransferPeriod="PT30M" scheduledTransferLogLevelFilter="Error"> | |
<DataSource name="Application!*" /> | |
</WindowsEventLog> | |
</DiagnosticMonitorConfiguration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment