Azure In-Role Cache Troubleshooting and Diagnostics
Important
Microsoft recommends all new developments use Azure Redis Cache. For current documentation and guidance on choosing an Azure Cache offering, see Which Azure Cache offering is right for me?
In-Role Cache applications are configured for diagnostic data collection using a diagnostic level. This diagnostic level provides a single setting for configuring the level of data collection. This topic provides an overview of troubleshooting steps and diagnostics for troubleshooting In-Role Cache applications.
Troubleshooting and Diagnostics for In-Role Cache Applications
Applications running on Azure are widely distributed, multi-instance applications that can be hard to debug. These types of applications require more than standard tools and approaches to troubleshooting. Troubleshooting Azure applications is beyond the scope of this topic, but more information is available in Diagnostics and Debugging in Azure. This topic discusses proven troubleshooting practices and contains links to more intensive information and best practices. For more information about viewing diagnostic data once it is collected, see Store and View Diagnostic Data in Azure Storage.
Configuring In-Role Cache applications to collect diagnostic data for troubleshooting requires configuring the diagnostic level and configuring the cache diagnostics during role startup. This topic provides an overview of these steps for troubleshooting In-Role Cache applications.
Configure the Diagnostic Level
Cache Server Diagnostic Levels
Cache Client Diagnostic Levels
Configure Cache Diagnostics
Performance Counters by Diagnostic Level
Configure the Diagnostic Level
In-Role Cache provides five diagnostic levels which are used to configure the amount of diagnostic data collection. Diagnostic levels range from 0 to 4, and the number indicates the volume of diagnostic information collected for cache servers and clients. Each diagnostic level contains a pre-configured set of performance counters, event logs, tracing, and crash dump settings that can be used to monitor the health of your In-Role Cache application.
Diagnostic Level | Diagnostic Data Collected |
---|---|
0 |
Very critical/catastrophic server logs only. |
1 |
Diagnostic data that helps in assessing usage patterns, health of the cache system, and any potential errors. This is the default configuration level. |
2 |
Diagnostic data at fine grain granularity of all requests and important system information. |
3 |
Diagnostic data with more verboseness and system information. |
4 |
Highest verbosity logs for all requests and system information. |
There are two types of caching diagnostic levels that correspond to cache client and cache server diagnostics. DiagnosticLevel represents cache server diagnostics, and ClientDiagnosticLevel represents cache client diagnostics. Each level configures a different set of performance counters, logs, traces, and crash dump settings. These diagnostic levels are configured in the ServiceConfiguration.cscfg file for the application, and may be changed for a running cloud application simply by deploying an updated ServiceConfiguration.cscfg file.
Cache Server Diagnostic Levels
Cache Client Diagnostic Levels
Cache Server Diagnostic Levels
The cache server diagnostic level for a cache cluster is specified in the ServiceConfiguration.cscfg file, in the configuration section for the role that hosts the cache cluster. This setting is added by Visual Studio when caching is enabled in the Caching tab for the role, and is already present when a Cache Worker Role is added to a project. The default DiagnosticLevel is 1, and if no DiagnosticLevel is present for the role then a DiagnosticLevel of 1 is used. To change the DiagnosticLevel, modify the DiagnosticLevel setting for the role in ServiceConfiguration.cscfg. The following example is the WorkerRole1
section from a ServiceConfiguration.cscfg file with a DiagnosticLevel of 1.
<Role name="WorkerRole1">
<Instances count="1" />
<ConfigurationSettings>
<!-- Other settings omitted for clarity... -->
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="1" />
</ConfigurationSettings>
</Role>
The following table lists the diagnostic data that is collected for each of the diagnostic levels.
DiagnosticLevel | Data Collected |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
Note
When running In-Role Cache applications in the Azure emulator, the traces for all role instances are collected under the *_IN_0 folder, even when there are multiple role instances. This behavior is by design. When In-Role Cache applications are hosted in Azure, the traces for each role instance are located in the respective folders for the role instances.
Cache Client Diagnostic Levels
The ClientDiagnosticLevel level for a cache client is specified in the ServiceConfiguration.cscfg, in the configuration section for the role that is the cache client. This setting is added by the In-Role Cache NuGet package when the role is configured to act as a cache client.
Note
For more information about configuring cache clients using the In-Role Cache NuGet package, see Configure a Project for Caching on Roles.
The default ClientDiagnosticLevel is 1, and if no ClientDiagnosticLevel is present for the role then a ClientDiagnosticLevel of 1 is used. To change the ClientDiagnosticLevel, modify the ClientDiagnosticLevel setting for the role in ServiceConfiguration.cscfg. The following example is the WebRole1
section from a ServiceConfiguration.cscfg file with a ClientDiagnosticLevel of 1.
<Role name="WebRole1">
<Instances count="1" />
<ConfigurationSettings>
<!-- Other settings omitted for clarity... -->
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" value="1" />
</ConfigurationSettings>
</Role>
The following table lists the diagnostic data that is collected for each of the client diagnostic levels.
Note
Crash dump settings for the client diagnostic levels are relevant only to cache clients using the Memcached client shim. Crash dumps are not collected for non-Memcache clients. For more information about the Memcached client shim, see Memcached Wrapper for Azure In-Role Cache.
ClientDiagnosticLevel | Data Collected |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
Note
When running In-Role Cache applications in the Azure emulator, the traces for all role instances are collected under the *_IN_0 folder, even when there are multiple role instances. This behavior is by design. When In-Role Cache applications are hosted in Azure, the traces for each role instance are located in the respective folders for the role instances.
Configure Cache Diagnostics
The steps for configuring cache diagnostics are different depending on the version of the Azure SDK used.
Configure Cache diagnostics using Azure SDK 2.5 or higher
Configure Cache diagnostics using Azure SDK 2.4 or lower
Configure Cache diagnostics using Azure SDK 2.5 or higher
When using Azure SDK 2.5 or higher, cache diagnostics are configured using diagnostics.wadcfgx
files. These files are added to your Visual Studio project automatically when diagnostics are configured using the Diagnostics configuration dialog box in Visual Studio. One diagnostics.wadcfgx
file is added to each role that participates in caching, either as a client or a server. In the case of a co-located cache role, the client and server settings would be contained in the same diagnostics.wadcfgx
file. For guidance on using the Diagnostics configuration dialog box for configuring diagnostics, see Configuring Diagnostics for Azure Cloud Services and Virtual Machines.
Once diagnostics are configured using the Diagnostics configuration dialog box, there are a few additional considerations for configuring cache diagnostics.
Application logs are configured on the Application Logs tab in the Diagnostics configuration dialog box. The configuration for cache server application logs is configured in the DataSources
section in the diagnostics.wadcfxg
file.
<DataSources>
<DirectoryConfiguration containerName="wad-custom-logs">
<LocalResource name="DiagnosticStore" relativePath="AzureCaching\ServiceLogs\Upload" />
</DirectoryConfiguration>
</DataSources>
The configuration for cache server client application logs is configured using the settings the Application Logs tab in the Diagnostics configuration dialog box. The level used is the lower value of the Log level setting on the dialog box and the ClientDiagnosticLevel
configured in the .cscfg
file. To collect a higher level of cache server application log data, ensure that both values are set to the appropriate level.
The generation of performance counter data depends on the level specified in the Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel
for the cache client and Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel
for the cache server. When transferring the performance counter metrics to storage, only the metrics listed in the diagnostics.wadcfxg
file are transferred, as shown in the following example diagnostics.wadcfxg
files.
<?xml version="1.0" encoding="utf-8"?>
<DiagnosticsConfiguration xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<PublicConfig xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<WadCfg>
<DiagnosticMonitorConfiguration overallQuotaInMB="4096">
<DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Error" />
<Directories scheduledTransferPeriod="PT1M">
<IISLogs containerName="wad-iis-logfiles" />
<FailedRequestLogs containerName="wad-failedrequestlogs" />
</Directories>
<PerformanceCounters scheduledTransferPeriod="PT1M">
<PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
<!--Cache Client Performance counters-->
<PerformanceCounterConfiguration counterSpecifier="\Windows Azure Caching:Client Host\Requests" sampleRate="PT1M" />
</PerformanceCounters>
<WindowsEventLog scheduledTransferPeriod="PT1M">
<DataSource name="Application!*" />
</WindowsEventLog>
<CrashDumps>
<CrashDumpConfiguration processName="WaIISHost.exe" />
<CrashDumpConfiguration processName="WaWorkerHost.exe" />
<CrashDumpConfiguration processName="w3wp.exe" />
</CrashDumps>
<Logs scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Verbose" />
</DiagnosticMonitorConfiguration>
</WadCfg>
<StorageAccount />
</PublicConfig>
<PrivateConfig xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount endpoint="" />
</PrivateConfig>
<IsEnabled>true</IsEnabled>
</DiagnosticsConfiguration>
<?xml version="1.0" encoding="utf-8"?>
<DiagnosticsConfiguration xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<PublicConfig xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<WadCfg>
<DiagnosticMonitorConfiguration overallQuotaInMB="4096">
<DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Verbose" />
<Directories scheduledTransferPeriod="PT1M">
<IISLogs containerName="wad-iis-logfiles" />
<FailedRequestLogs containerName="wad-failedrequestlogs" />
<!--Cache Server Logs-->
<DataSources>
<DirectoryConfiguration containerName="wad-custom-logs">
<LocalResource relativePath="." name="DiagnosticStore" />
</DirectoryConfiguration>
</DataSources>
</Directories>
<PerformanceCounters scheduledTransferPeriod="PT1M">
<PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
<!--Cache Performance Counter-->
<PerformanceCounterConfiguration counterSpecifier="\Windows Azure Caching:Host\Total Client Requests" sampleRate="PT1M" />
</PerformanceCounters>
<WindowsEventLog scheduledTransferPeriod="PT1M">
<DataSource name="Application!*" />
</WindowsEventLog>
<CrashDumps dumpType="Full">
<CrashDumpConfiguration processName="WaAppAgent.exe" />
<CrashDumpConfiguration processName="WaIISHost.exe" />
<CrashDumpConfiguration processName="WindowsAzureGuestAgent.exe" />
<CrashDumpConfiguration processName="WaWorkerHost.exe" />
<CrashDumpConfiguration processName="DiagnosticsAgent.exe" />
<CrashDumpConfiguration processName="w3wp.exe" />
<!--Cache Service Dump-->
<CrashDumpConfiguration processName="CacheService.exe" />
</CrashDumps>
<Logs scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Verbose" />
</DiagnosticMonitorConfiguration>
</WadCfg>
<StorageAccount />
</PublicConfig>
<PrivateConfig xmlns="https://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount endpoint="" />
</PrivateConfig>
<IsEnabled>true</IsEnabled>
</DiagnosticsConfiguration>
Configure Cache diagnostics using Azure SDK 2.4 or lower
To start the collection of caching diagnostic data using Azure SDK 2.4 or lower, the following code must be invoked during role startup. This code must be added to each role that is a cache client or cache server in order for caching diagnostic data to be collected. One convenient place to host this code is in the role's OnStart override, as demonstrated in the following example.
public override bool OnStart()
{
DiagnosticMonitorConfiguration dmConfig =
DiagnosticMonitor.GetDefaultInitialConfiguration();
// Configure the collection of cache diagnostic data.
CacheDiagnostics.ConfigureDiagnostics(dmConfig);
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString",
dmConfig);
return base.OnStart();
}
Public Overrides Function OnStart() As Boolean
' Existing OnStart override code omitted for clarity.
Dim dmConfig As DiagnosticMonitorConfiguration = _
DiagnosticMonitor.GetDefaultInitialConfiguration()
' Configure the collection of cache diagnostic data.
CacheDiagnostics.ConfigureDiagnostics(dmConfig)
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", _
dmConfig)
Return MyBase.OnStart()
End Function
The ConfigureDiagnostics method configures the collection of caching diagnostic data. If this method is not called, caching diagnostic data is not collected. To use the CacheDiagnostics class, add a reference to Microsoft.ApplicationServer.Caching.AzureCommon.dll located in C:\Program Files\Microsoft SDKs\Azure\.NET SDK\2012-10\ref\Caching, and add the following using (or Imports) statement.
using Microsoft.ApplicationServer.Caching.AzureCommon;
Imports Microsoft.ApplicationServer.Caching.AzureCommon
Note
If the role has been configured as a cache client using the In-Role Cache NuGet package, then the Microsoft.ApplicationServer.Caching.AzureCommon.dll assembly reference is already added.
If you are adding caching to an existing role and diagnostic configuration code is already present, you can add the call to O:Microsoft.ApplicationServer.Caching.AzureCommon.CacheDiagnostics.ConfigureDiagnostics to the existing diagnostic startup code before the call to O:Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.Start.
Warning
Calling both O:Microsoft.ApplicationServer.Caching.AzureCommon.CacheDiagnostics.ConfigureDiagnostics and ):Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.Start is required for diagnostic data collection in In-Role Cache applications. If both of these methods are not called during role startup, caching diagnostic data is not collected.
Performance Counters by Diagnostic Level
The following sections contain lists of the performance counters included in each of the server and client diagnostic levels. Both In-Role Cache and performance counters are included. For a complete list with descriptions of the In-Role Cache performance counters, see Monitor Azure In-Role Cache. For more information about the performance counters, see Performance Counters in the .NET Framework.
Server Diagnostic Level 1 Performance Counters
Server Diagnostic Level 2 Performance Counters
Server Diagnostic Level 3 and 4 Performance Counters
Client Diagnostic Level 1 Performance Counters
Client Diagnostic Level 2, 3, and 4 Performance Counters
Server Diagnostic Level 1 Performance Counters
DiagnosticLevel 1 contains the following performance counters.
\Azure Caching:Host\Average Secondary Response Time / operation Microsecond
\Azure Caching:Host\Total Data Size Bytes
\Azure Caching:Host\Total Client Requests
\Azure Caching:Host\Total Read Requests
\Azure Caching:Host\Total Object Count
\Azure Caching:Host\Total Failure Exceptions
\Memory\Available MBytes
\Process(CacheService)\Page Faults/sec
- When running in the Azure emulator the counter name is \Process(CacheServiceEmulator)\Page Faults/sec
\Processor(_Total)\% Processor Time
\.NET CLR Memory(_Global_)\% Time in GC
Server Diagnostic Level 2 Performance Counters
DiagnosticLevel 2 contains the following performance counters.
\Azure Caching:Host\Average Secondary Response Time / operation Microsecond
\Azure Caching:Host\Total Data Size Bytes
\Azure Caching:Host\Total Client Requests
\Azure Caching:Host\Total Read Requests
\Azure Caching:Host\Total Object Count
\Azure Caching:Host\Total Failure Exceptions
\Processor(_Total)\% Processor Time
\.NET CLR Memory(_Global_)\% Time in GC
\Azure Caching:Host\Total Read Requests /sec
\Azure Caching:Host\Cache Miss Percentage
\Azure Caching:Host\Total Primary Data Size Bytes
\Azure Caching:Host\Total Allocated Directory Count
\Azure Caching:Host\Available Cache Item Percentage
\Azure Caching:Host\Total Available Cache Item Count
\Azure Caching:Host\Total Notification Delivered
\Azure Caching:Host\Total Eviction Runs
\Azure Caching:Host\Total Memory Evicted
\Azure Caching:Host\Total Evicted Objects
\Azure Caching:Host\Total Expired Objects
\Azure Caching:Host\Total Requests Served
\Azure Caching:Host\Total Write Operations
\.NET CLR LocksAndThreads(*)\Contention Rate / sec
\.NET CLR Memory(*)\% Time in GC
\.NET CLR Memory(*)\Gen 0 heap size
\.NET CLR Memory(*)\Gen 1 heap size
\.NET CLR Memory(*)\Gen 2 heap size
\.NET CLR Memory(*)\Large Object Heap size
\Memory\Available MBytes
\Process(CacheService)\Page Faults/sec
- When running in the Azure emulator the counter name is \Process(CacheServiceEmulator)\Page Faults/sec
\Process(*)\Thread Count
\Process(*)\Working Set
\Process(*)\Virtual Bytes
\Process(*)\Elapsed Time
\Process(*)\Page Faults/sec
\Network Interface(*)\Current Bandwidth
\Network Interface(*)\Bytes Total/sec
\Azure Caching:Host\Total Connections Count
\Azure Caching:Host\Average Quorum Response Time / operation Microsecond
\Azure Caching:Host\Total Client Requests /sec
\Azure Caching:Host\Total Notification Delivered
\Azure Caching:Host\Total Get Misses
\Azure Caching:Host\Total Write Operations /sec
Server Diagnostic Level 3 and 4 Performance Counters
DiagnosticLevel 3 and DiagnosticLevel 4 contain the following performance counters.
\.NET CLR LocksAndThreads(*)\Contention Rate / sec
\.NET CLR LocksAndThreads(*)\Current Queue Length
\.NET CLR Memory(*)\# Bytes in all Heaps
\.NET CLR Memory(*)\# Gen 0 Collections
\.NET CLR Memory(*)\# Gen 1 Collections
\.NET CLR Memory(*)\# Gen 2 Collections
\.NET CLR Memory(*)\% Time in GC
\.NET CLR Memory(*)\Gen 0 heap size
\.NET CLR Memory(*)\Gen 1 heap size
\.NET CLR Memory(*)\Gen 2 heap size
\.NET CLR Memory(*)\Large Object Heap size
\.NET CLR Exceptions(*)\# of Exceps Thrown
\Memory\Available MBytes
\Memory\Page Faults/sec
\PhysicalDisk(_Total)\% Idle Time
\PhysicalDisk(_Total)\Avg. Disk Queue Length
\Processor(_Total)\% Privileged Time
\Processor(_Total)\% Processor Time
\System\Context Switches/sec
\System\Processor Queue Length
\Process(*)\% Processor Time
\Process(*)\Handle Count
\Process(*)\Private Bytes
\Process(*)\Thread Count
\Process(*)\Working Set
\Process(*)\Virtual Bytes
\Process(*)\Elapsed Time
\Process(*)\Page Faults/sec
\Process(CacheService)\Page Faults/sec
- When running in the emulator the counter name is \Process(CacheServiceEmulator)\Page Faults/sec
\Network Interface(*)\Current Bandwidth
\Network Interface(*)\Packets/sec
\Network Interface(*)\Bytes Sent/sec
\Network Interface(*)\Bytes Received/sec
\Network Interface(*)\Bytes Total/sec
\System\System Up Time
\Azure Caching:Host\Available Cache Item Percentage
\Azure Caching:Host\Total Connections Count
\Azure Caching:Host\Available Directory Percentage
\Azure Caching:Host\Available Memory Percentage
\Azure Caching:Host\Average Quorum Response Time / operation Microsecond
\Azure Caching:Host\Average Secondary Response Time / operation Microsecond
\Azure Caching:Host\Cache Miss Percentage
\Azure Caching:Host\Gateway Process Time
\Azure Caching:Host\Gateway Failure Percentage
\Azure Caching:Host\Request Processing Error Percentage
\Azure Caching:Host\Total Allocated Cache Item Count
\Azure Caching:Host\Total Allocated Directory Count
\Azure Caching:Host\Total Available Cache Item Count
\Azure Caching:Host\Total Available Directory Count
\Azure Caching:Host\Total Available Memory Bytes
\Azure Caching:Host\Total Cache Misses
\Azure Caching:Host\Total Cache Misses /sec
\Azure Caching:Host\Total Client Requests
\Azure Caching:Host\Total Client Requests /sec
\Azure Caching:Host\Total Data Size Bytes
\Azure Caching:Host\Total Evicted Objects
\Azure Caching:Host\Total Eviction Runs
\Azure Caching:Host\Total Expired Objects
\Azure Caching:Host\Total Failure Exceptions
\Azure Caching:Host\Total Failure Exceptions /sec
\Azure Caching:Host\Total Memory Evicted
\Azure Caching:Host\Total Notification Delivered
\Azure Caching:Host\Total Notification Delivered /sec
\Azure Caching:Host\Total Notification Poll Requests
\Azure Caching:Host\Total Notification Poll Requests /sec
\Azure Caching:Host\Total Object Count
\Azure Caching:Host\Total Objects Returned
\Azure Caching:Host\Total Objects Returned /sec
\Azure Caching:Host\Total Primary Data Size Bytes
\Azure Caching:Host\Total Get Misses
\Azure Caching:Host\Total Get Misses /sec
\Azure Caching:Host\Total Get Requests
\Azure Caching:Host\Total Get Requests /sec
\Azure Caching:Host\Total GetAndLock Requests
\Azure Caching:Host\Total GetAndLock Requests /sec
\Azure Caching:Host\Total Memory Evicted
\Azure Caching:Host\Total Read Requests
\Azure Caching:Host\Total Read Requests /sec
\Azure Caching:Host\Total Requests Served
\Azure Caching:Host\Total Requests Served /sec
\Azure Caching:Host\Total Retry Exception
\Azure Caching:Host\Total Retry Exception /sec
\Azure Caching:Host\Total Secondary Data Size Bytes
\Azure Caching:Host\Total Successful GetAndLock Requests
\Azure Caching:Host\Total Successful GetAndLock Requests /sec
\Azure Caching:Host\Total Write Operations
\Azure Caching:Host\Total Write Operations /sec
Client Diagnostic Level 1 Performance Counters
ClientDiagnosticLevel 1 contains the following performance counters.
\Azure Caching:Client Host\Failure Exceptions
\Azure Caching:Client Host\Total Local Cache Hits
\Azure Caching:Client Host\Current Server Connections
\Azure Caching:Client Host\Average Get Latency / operation Microsecond
\Azure Caching:Client Host\Average Put Latency / operation Microsecond
\Azure Caching:Client Host\Retry Exceptions
\Azure Caching:Client Host\Timeout Exceptions
\Azure Caching:Client Host\Requests
\Processor(_Total)\% Processor Time
\.NET CLR Memory(_Global_)\% Time in GC
\Azure Caching:Client(*)\Failure Exceptions
\Azure Caching:Client(*)\Total Local Cache Hits
\Azure Caching:Client(*)\Current Server Connections
\Azure Caching:Client(*)\Average Get Latency / operation Microsecond
\Azure Caching:Client(*)\Average Put Latency / operation Microsecond
\Azure Caching:Client(*)\Retry Exceptions
\Azure Caching:Client(*)\Timeout Exceptions
\Azure Caching:Client(*)\Requests
Client Diagnostic Level 2, 3, and 4 Performance Counters
ClientDiagnosticLevel 2, 3, and 4 contain the following performance counters.
\Azure Caching:Client Host\Requests
\Azure Caching:Client Host\Requests / sec
\Azure Caching:Client Host\Server Responses Dropped / sec
\Azure Caching:Client Host\Failure Exceptions
\Azure Caching:Client Host\Failure Exceptions / sec
\Azure Caching:Client Host\Average Get Latency / operation Microsecond
\Azure Caching:Client Host\Average Put Latency / operation Microsecond
\Azure Caching:Client Host\Average Get Latency (Network) / operation Microsecond
\Azure Caching:Client Host\Read Requests
\Azure Caching:Client Host\Write Requests
\Azure Caching:Client Host\Bytes Received / sec
\Azure Caching:Client Host\Bytes Sent / sec
\Azure Caching:Client Host\Current Server Connections
\Azure Caching:Client Host\Local Cache Filled Percentage
\Azure Caching:Client Host\Local Cache Hits Percentage
\Azure Caching:Client Host\Total Local Cache Hits
\Azure Caching:Client Host\Total Local Cache Objects
\Azure Caching:Client Host\Total Notifications Received
\Azure Caching:Client Host\Timeout Exceptions
\Azure Caching:Client Host\Timeout Exceptions / sec
\Azure Caching:Client Host\Retry Exceptions
\Azure Caching:Client Host\Retry Exceptions / sec
\Azure Caching:Client Host\Total Connection Requests Failed
\Azure Caching:Client Host\Network Exceptions
\Azure Caching:Client Host\Network Exceptions / sec
\Azure Caching:Client Host\Current Waiting Requests
\Processor(_Total)\% Processor Time
\.NET CLR Memory(_Global_)\% Time in GC
\Azure Caching:Client(*)\Requests
\Azure Caching:Client(*)\Requests / sec
\Azure Caching:Client(*)\Server Responses Dropped / sec
\Azure Caching:Client(*)\Failure Exceptions
\Azure Caching:Client(*)\Failure Exceptions / sec
\Azure Caching:Client(*)\Average Get Latency / operation Microsecond
\Azure Caching:Client(*)\Average Put Latency / operation Microsecond
\Azure Caching:Client(*)\Average Get Latency (Network) / operation Microsecond
\Azure Caching:Client(*)\Read Requests
\Azure Caching:Client(*)\Write Requests
\Azure Caching:Client(*)\Bytes Received / sec
\Azure Caching:Client(*)\Bytes Sent / sec
\Azure Caching:Client(*)\Current Server Connections
\Azure Caching:Client(*)\Local Cache Filled Percentage
\Azure Caching:Client(*)\Local Cache Hits Percentage
\Azure Caching:Client(*)\Total Local Cache Hits
\Azure Caching:Client(*)\Total Local Cache Objects
\Azure Caching:Client(*)\Total Notifications Received
\Azure Caching:Client(*)\Timeout Exceptions
\Azure Caching:Client(*)\Timeout Exceptions / sec
\Azure Caching:Client(*)\Retry Exceptions
\Azure Caching:Client(*)\Retry Exceptions / sec
\Azure Caching:Client(*)\Total Connection Requests Failed
\Azure Caching:Client(*)\Network Exceptions
\Azure Caching:Client(*)\Network Exceptions / sec
\Azure Caching:Client(*)\Current Waiting Requests
See Also
Reference
Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor
Concepts
Other Resources
Performance Counters in the .NET Framework
Diagnostics and Debugging in Azure