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
vuSmartMaps collects Azure Redis Cache metrics through a data collector deployed within the vuSmartMaps platform, which uses azure_monitor to retrieve performance and health metrics.
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.
nan
Firewall Requirement
To collect data from this O11ySource, ensure the following ports are opened:
| Source IP | Destination IP | Destination Port | Protocol | Direction |
|---|---|---|---|---|
| vuSmartMaps Collection/Ingress node IP | Service URL | 443*/6380*/6379* | 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
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 |
