Skip to main content
Version: NG-2.16

Azure Redis Cache

Introduction

Azure Cache for Redis is a fully managed, in-memory data store from Microsoft Azure that delivers high-speed data access and low latency, using the Redis platform for caching, session storage, and real-time data processing.

Getting Started

Compatibility

The Azure Redis Cache O11ySource supports Redis instances provisioned via Azure Cache for Redis across all SKUs (Basic, Standard, and Premium) that are within Microsoft’s lifecycle support. Premium tier feature persistence (RDB) is supported if enabled.

Data Collection Method

Telemetry data for Azure Redis Cache includes metrics related to: Throughput: Get/Set operations per second Cache efficiency: Hits, Misses, Evicted/Expired keys Memory usage: Used memory, percentage used Server performance: CPU utilization, server load, connected clients Persistence (Premium): RDB/AOF last save status and save time Metrics are collected using a data collector deployed within vuSmartMaps platform, which connects to Azure Monitor APIs and retrieves Redis performance and health data (as exposed via the Microsoft.Cache/Redis namespace).

Prerequisites

Dependent Configuration

To configure this O11ySource, create a 'credential' of type 'azure' under the 'Definition' tab.

Inputs for Configuring Data Source

  • Azure Resource Group Having Redis Cache: Azure Resource Group name within which the Redis Cache is configured
  • Credential: Credential object to derive Azure authentication configs
  • Resource ID: Specific Redis Cache resource to be monitored
  • Interval (in seconds): Data collection interval in seconds.

Firewall Requirement

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
vuSmartMaps IPAzure Monitor API endpoint443HTTPSOutbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target

The Redis instance must be provisioned in Azure with Metrics collection enabled in Azure Monitor. Ensure that the vuSmartMaps collector has access to the Azure Monitor REST API via Service Principal or Managed Identity. Required Azure IAM Role: Monitoring Reader (minimum) for the subscription/resource group containing the Redis Cache.

Configuration Steps

Enable the O11ySource. Go to the Sources tab and press + to add a new Azure Redis Cache instance. Provide the required configurations: Resource Group → Azure Resource Group having Azure Redis Cache Credential → Azure credential to use (Service Principal or Managed Identity) Resource ID → Specific Azure Cache for Redis resource ID (optional) Interval → Polling interval in seconds Click Save to close the data source window.

Metrics Collected

NameDescriptionData Type
TimestampEvent timestamp with millisecond precisionDateTime64(3)
TargetAzure Service instance or resource being monitoredString
Name spaceName space of the resourceString
Subscription IDSubscription IDString
Resource GroupResource Group NameString
Resource NameName of the resourceString
Resource RegionRegion of the Azure ResourceString
Metric TypeType of metricLowCardinality(String)
Metric ScopeScope of the metricLowCardinality(String)
AverageAverage value of the metricFloat64
MaximumMaximum value of the metricFloat64
MinimumMinimum value of the metricFloat64
TotalTotal value of the metricFloat64
Doc CountNumber of documents considered for metric calculationUInt64
Connected ClientsNumber of clients corrently connectedUInt64
Operations Per SecondNumber of operations per secondUInt64
SetsNumber of set operationsUInt64
GetsNumber of get operationsUInt64
Total KeysTotal number of keysUInt64
Expired KeysNumber of expired keysUInt64
Evicted KeysNumber of evicted keysUInt64
Cache Miss RatioCache Miss PercentageFloat64
Server LoadLoad %age on the serverFloat64
CPU UsageUsed CPU %ageFloat64
Used MemoryUsed Memory %ageFloat64
Cache WriteWrite throughput (bytes/sec)Float64
Cache ReadRead throughput (bytes/sec)Float64
Cache LatencyCache latency in microsecondsFloat64