Mackerel supports obtaining and monitoring Cache for Redis metrics in Azure Integration. When integrating with Azure Integration, billable targets are determined using the conversion 1 Cache = 1 Micro Host. In addition to this, depending on the number of metrics retrieved, you may be charged for exceeding the maximum number of metrics per micro host.
Please refer to the following page for Azure Integration configuration methods and a list of supported Azure services.
Obtaining metrics
The metrics obtainable with Azure Integration’s Cache for Redis support are as follows. For Metric
explanations, refer to the Azure help page.
The maximum number of metrics obtainable is 23 + 23 × (number of Shards)
.
Graph name | Metric | Metric name in Mackerel | Unit | Aggregation Type |
---|---|---|---|---|
CPU | percentProcessorTime | azure.redis_cache.cpu.percent | percentage | Maximum |
Connected Clients | connectedclients | azure.redis_cache.connected_clients.count | integer | Maximum |
Total Keys | totalkeys | azure.redis_cache.total_keys.count | integer | Maximum |
Used Memory | used used_rss |
azure.redis_cache.memory.used azure.redis_cache.memory.used_rss |
bytes | Maximum |
Server Load | serverLoad | azure.redis_cache.server.load | percentage | Maximum |
Cache Read/Write | cacheRead cacheWrite |
azure.redis_cache.cache_io.read azure.redis_cache.cache_io.write |
bytes/sec | Maximum |
Cache Hits/Misses | cachehits cachemisses |
azure.redis_cache.cache.hits azure.redis_cache.cache.misses |
integer | Total |
Commands | totalcommandsprocessed getcommands setcommands |
azure.redis_cache.command.processed azure.redis_cache.command.get azure.redis_cache.command.set |
integer | Total |
Evicted/Expired Keys | evictedkeys expiredkeys |
azure.redis_cache.keys.evicted azure.redis_cache.keys.expired |
integer | Total |
Operations Per Second | operationsPerSecond | azure.redis_cache.operations.iops | iops | Maximum |
Errors | errors | azure.redis_cache.errors.aof azure.redis_cache.errors.dataloss azure.redis_cache.errors.export azure.redis_cache.errors.failover azure.redis_cache.errors.import azure.redis_cache.errors.rdb azure.redis_cache.errors.unresponsiveclients |
integer | Maximum |
Mackerel also supports metrics for each Shard of Cache for Redis. For each of the above graphs, shard-level graphs are generated and the metrics of each shard can be seen all in one place.
As for Errors, a Per Shard graph is generated for each of the following error types.
- AOF
- Dataloss
- Export
- Failover
- Import
- RDB
- UnresponsiveClients