Skip to content

Azure Cache for Redis

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Cache for Redis via the RedisCache resource type.

When using declared resources, the following fields need to be provided:

  • cacheName - The name of the Redis Cache instance

All supported metrics are documented in the official Azure Monitor documentation.

You can find more documentation on each metric in the Azure Cache for Redis monitoring documentation.

Example

Here is an example configuration:

name: azure_redis_cache_cache_hits
description: "The number of successful key lookups during the specified reporting interval. This maps to keyspace_hits from the Redis INFO command."
resourceType: RedisCache
scraping:
  schedule: "0 */2 * ? * *"
azureMetricConfiguration:
  metricName: CacheHits
  aggregation:
    type: Total
    interval: 00:01:00
resources: # Optional, required when no resource discovery is configured
- cacheName: Promitor-1
- cacheName: Promitor-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: redis-cache-landscape