Azure Redis Cache monitoring integration

Access to this feature depends on your subscription level.

New Relic Infrastructure provides an integration for Microsoft Azure Redis Cache that reports data to New Relic products. This document explains how to activate this integration and describes the data that can be captured.

Features

New Relic's integration for Azure Redis Cache reports metrics about your Azure Redis Cache service, such as the number of connected clients, the number of GET and SET commands used, and write/read bytes per second. It also collects inventory data about the status and configuration of the service.

You can monitor and alert on your Azure Redis Cache data from New Relic Infrastructure, and you can create custom queries and chart dashboards in New Relic Insights.

Activate integration

To enable this integration, follow standard procedures to activate your Azure service in New Relic Infrastructure.

Configuration and polling

You can change the polling frequency and filter data using configuration options.

Default polling information for the Azure Functions integration:

  • Default polling interval: 5 minutes
  • Resolution: 1 data point per minute

Find and use data

To find your integration data in Infrastructure, go to infrastructure.newrelic.com > Azure and select the Azure Redis Cache integration.

In New Relic Insights, data is attached to the AzureRedisCacheSample event type and, when shards are configured in the service, the AzureRedisCacheShardSample event type.

For more on how to find and use integration data, see Understand and use data.

Metric data

To view metrics reported by the Azure Redis Cache integration, query the AzureRedisCacheSample or AzureRedisCacheShardSample event type in Insights. Use the metadata associated with each metric to filter and facet the data being reported. For detailed metric information, see the Azure supported metrics documentation. For more details, see the Azure Redis Cache documentation.

Metric Description Metadata
cacheHits Number of successful key lookups.

shardId

cacheMisses Number of failed key lookups.

shardId

cacheReadBytesPerSecond Amount of data read from the cache in megabytes per second.

shardId

cacheWriteBytesPerSecond Amount of data written to the cache in megabytes per second.

shardId

connectedClients Number of client connections to the cache.

shardId

evictedKeys Number of items evicted from the cache due to the maxmemory limit.

shardId

expiredKeys Number of items expired from the cache.

shardId

getCommands Number of get operations from the cache.

shardId

operationsPerSecond Number of commands processed per second by the cache server.

shardId

processorTimePercent The CPU utilization of the Azure Redis Cache server as a percentage.

shardId

serverLoadPercent Percentage of cycles in which the Redis server is busy processing and not waiting idle for messages.

shardId

setCommands Number of set operations to the cache.

shardId

totalCommandsProcessed Total number of commands processed by the cache.

shardId

totalKeys Maximum number of keys in the cache for a given time period.

shardId

usedMemoryBytes Amount of cache memory used for key/value pairs in the cache, in megabytes.

shardId

usedMemoryRssBytes Amount of cache memory used, including fragmentation and metadata, in megabytes.

shardId

Inventory data

Inventory data is information about your system's state and configuration. This integration reports the following data:

azure/rediscache/cache

  • isPremium
  • provisioningState
  • hostName
  • port
  • sslPort
  • redisVersion
  • nonSslPort
  • shardCount
  • subnetId
  • staticIP
  • configuration
  • skuName
  • skuFamily
  • skuCapacity
  • id
  • name
  • type
  • regionName
  • tags

azure/rediscache/shard

Only some premium Redis Cache accounts will generate shard data. If that data is present, shardName will be reported in addition to the standard /cache inventory data.

For more help

Recommendations for learning more: