Redis

Filters

  • Standard Value Filter (see Generic Filters)
  • ARM Resource Filters (see Generic Filters)
    • Metric Filter - Filter on metrics from Azure Monitor - (see Redis Cache Supported Metrics)
    • Tag Filter - Filter on tag presence and/or values
    • Marked-For-Op Filter - Filter on tag that indicates a scheduled operation for a resource

Actions

Example Policies

This policy will find all Redis caches with more than 1000 cache misses in the last 72 hours

policies:
  - name: notify-redis-cache-misses
    resource: azure.redis
    filters:
      - type: metric
        metric: cachemisses
        op: ge
        aggregation: count
        threshold: 1000
        timeframe: 72
     actions:
      - type: notify
        template: default
        priority_header: 2
        subject: Many Cache Misses
        to:
          - user@domain.com
        transport:
          - type: asq
            queue: https://accountname.queue.core.windows.net/queuename