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 IP | Destination IP | Destination Port | Protocol | Direction |
|---|---|---|---|---|
| vuSmartMaps IP | Azure Monitor API endpoint | 443 | HTTPS | Outbound |
*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
| Name | Description | Data Type |
|---|---|---|
| Timestamp | Event timestamp with millisecond precision | DateTime64(3) |
| Target | Azure Service instance or resource being monitored | String |
| Name space | Name space of the resource | String |
| Subscription ID | Subscription ID | String |
| Resource Group | Resource Group Name | String |
| Resource Name | Name of the resource | String |
| Resource Region | Region of the Azure Resource | String |
| Metric Type | Type of metric | LowCardinality(String) |
| Metric Scope | Scope of the metric | LowCardinality(String) |
| Average | Average value of the metric | Float64 |
| Maximum | Maximum value of the metric | Float64 |
| Minimum | Minimum value of the metric | Float64 |
| Total | Total value of the metric | Float64 |
| Doc Count | Number of documents considered for metric calculation | UInt64 |
| Connected Clients | Number of clients corrently connected | UInt64 |
| Operations Per Second | Number of operations per second | UInt64 |
| Sets | Number of set operations | UInt64 |
| Gets | Number of get operations | UInt64 |
| Total Keys | Total number of keys | UInt64 |
| Expired Keys | Number of expired keys | UInt64 |
| Evicted Keys | Number of evicted keys | UInt64 |
| Cache Miss Ratio | Cache Miss Percentage | Float64 |
| Server Load | Load %age on the server | Float64 |
| CPU Usage | Used CPU %age | Float64 |
| Used Memory | Used Memory %age | Float64 |
| Cache Write | Write throughput (bytes/sec) | Float64 |
| Cache Read | Read throughput (bytes/sec) | Float64 |
| Cache Latency | Cache latency in microseconds | Float64 |
