Skip to content

Azure Redis Cache

Collect Azure Redis Cache Metrics

Configuration

Install Func

It is recommended to enable TrueWatch integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the script installation.

If deploying Func manually, refer to Manual Func Deployment

Install Script

Note: Please prepare the required Azure application registration information in advance and assign the Monitoring Reader role to the application registration.

To synchronize Azure Redis Cache monitoring data, we install the corresponding collection script: 「Integration (Azure-Redis Cache Collection)」(ID: integration_azure_redis)

After clicking [Install], input the corresponding parameters:

  • Azure Tenant ID: Tenant ID
  • Azure Client ID: Application registration Client ID
  • Azure Client Secret Value: Client secret value, note it is not the ID
  • Subscriptions: Subscription ID, multiple subscriptions separated by ,

Click [Deploy Startup Script], the system will automatically create Startup script sets and configure the corresponding startup scripts.

After enabling, you can see the corresponding automatic trigger configuration in "Manage / Automatic Trigger Configuration". Click [Execute] to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.

Verification

  1. In "Manage / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any exceptions.
  2. In TrueWatch, 「Infrastructure - Resource Catalog」, check if there is asset information.
  3. In TrueWatch, check if there are corresponding monitoring data in "Metrics".

Metrics

Collect Azure Redis Cache Metrics, more metrics can be collected through configuration Microsoft.Cache/redis Supported Metrics

Metric Name Description Unit
all_connections_closed_per_second_maximum Number of connections closed per second on cache hit (instance-based) count
all_connections_created_per_second_maximum Number of connections created per second on cache hit (instance-based) count
allcache_read_maximum Cache read (instance-based) bytes/s
allcache_write_maximum Cache write (instance-based) bytes/s
allcachehits_total Number of cache hits (instance-based) count
allcachemisses_total Number of cache misses (instance-based) count
allconnectedclients_maximum Number of connected clients count
allevictedkeys_total Number of evicted keys (instance-based) count
allexpiredkeys_total Number of expired keys (instance-based) count
allgetcommands_total Number of gets (instance-based) count
alloperations_per_second_maximum Number of operations per second (instance-based) count
allpercentprocessortime_maximum CPU (instance-based) %
allserver_load_maximum Server load (instance-based) %
allsetcommands_total Number of sets (instance-based) count
alltotalcommandsprocessed_total Total number of operations (instance-based) count
alltotalkeys_maximum Total number of keys (instance-based) count
allusedmemory_maximum Used memory (instance-based) bytes
allusedmemory_rss_maximum Used memory RSS (instance-based) bytes
allusedmemorypercentage_maximum Percentage of used memory (instance-based) %
cache_read_maximum Cache read volume bytes/s
cache_write_maximum Cache write volume bytes/s
cachehits_total Number of cache hits count
cachemisses_total Number of cache misses bytes
cachemissrate_total Cache miss rate bytes
connected_clients_using_aadtoken_maximum Number of connected clients using Microsoft Entra token (instance-based) count
connectedclients_maximum Number of connected clients count
errors_maximum Number of errors count
evictedkeys_total Number of evicted keys count
expiredkeys_total Number of expired keys count
getcommands_total Number of gets count
latency_p_99_maximum 99th percentile latency ms
operations_per_second_maximum Number of operations per second count
percent_processor_time_maximum CPU %
server_load_maximum Server load -
setcommands_total Number of sets count
totalcommandsprocessed_total Total number of operations count
usedmemory_rss_maximum Used memory RSS bytes
usedmemorypercentage_maximum Percentage of used memory %
cachehits_0_total Shard 0: Number of successful key lookups. count
cachehits_1_total Shard 1: Number of successful key lookups. count
cachehits_2_total Shard 2: Number of successful key lookups. count
cachehits_3_total Shard 3: Number of successful key lookups. count
cachehits_4_total Shard 4: Number of successful key lookups. count
cachehits_5_total Shard 5: Number of successful key lookups. count
cachehits_6_total Shard 6: Number of successful key lookups. count
cachehits_7_total Shard 7: Number of successful key lookups. count
cachehits_8_total Shard 8: Number of successful key lookups. count
cachehits_9_total Shard 9: Number of successful key lookups. count
cachemisses_0_total Shard 0: Number of key lookup failures. count
cachemisses_1_total Shard 1: Number of key lookup failures. count
cachemisses_2_total Shard 2: Number of key lookup failures. count
cachemisses_3_total Shard 3: Number of key lookup failures. count
cachemisses_4_total Shard 4: Number of key lookup failures. count
cachemisses_5_total Shard 5: Number of key lookup failures. count
cachemisses_6_total Shard 6: Number of key lookup failures. count
cachemisses_7_total Shard 7: Number of key lookup failures. count
cachemisses_8_total Shard 8: Number of key lookup failures. count
cachemisses_9_total Shard 9: Number of key lookup failures. count
cache_read_0_maximum Shard 0: Amount of data read from cache per second. B/S
cache_read_1_maximum Shard 1: Amount of data read from cache per second. B/S
cache_read_2_maximum Shard 2: Amount of data read from cache per second. B/S
cache_read_3_maximum Shard 3: Amount of data read from cache per second. B/S
cache_read_4_maximum Shard 4: Amount of data read from cache per second. B/S
cache_read_5_maximum Shard 5: Amount of data read from cache per second. B/S
cache_read_6_maximum Shard 6: Amount of data read from cache per second. B/S
cache_read_7_maximum Shard 7: Amount of data read from cache per second. B/S
cache_read_8_maximum Shard 8: Amount of data read from cache per second. B/S
cache_read_9_maximum Shard 9: Amount of data read from cache per second. B/S
cache_write_0_maximum Shard 0: The amount of data written to the cache per second. B/S
cache_write_1_maximum Shard 1: The amount of data written to the cache per second. B/S
cache_write_2_maximum Shard 2: The amount of data written to the cache per second. B/S
cache_write_3_maximum Shard 3: The amount of data written to the cache per second. B/S
cache_write_4_maximum Shard 4: Amount of data written to cache per second. B/S
cache_write_5_maximum Shard 5: Amount of data written to cache per second. B/S
cache_write_6_maximum Shard 6: Amount of data written to cache per second. B/S
cache_write_7_maximum Shard 7: Amount of data written to cache per second. B/S
cache_write_8_maximum Shard 8: The amount of data written to the cache per second. B/S
cache_write_9_maximum Shard 9: The amount of data written to the cache per second. B/S
connectedclients_0_maximum Shard 0: Number of client connections to the cache. count
connectedclients_1_maximum Shard 1: Number of client connections to the cache. count
connectedclients_2_maximum Shard 2: Number of client connections to the cache. count
connectedclients_3_maximum Shard 3: Number of client connections to the cache. count
connectedclients_4_maximum Shard 4: Number of client connections to the cache. count
connectedclients_5_maximum Shard 5: Number of client connections to the cache. count
connectedclients_6_maximum Shard 6: Number of client connections to the cache. count
connectedclients_7_maximum Shard 7: Number of client connections to the cache. count
connectedclients_8_maximum Shard 8: Number of client connections to the cache. count
connectedclients_9_maximum Shard 9: Number of client connections to the cache. count
evictedkeys_0_total Shard 0: Number of items evicted from cache. count
evictedkeys_1_total Shard 1: Number of items evicted from cache. count
evictedkeys_2_total Shard 2: Number of items evicted from cache. count
evictedkeys_3_total Shard 3: Number of items evicted from cache. count
evictedkeys_4_total Shard 4: Number of items evicted from cache. count
evictedkeys_5_total Shard 5: Number of items evicted from cache. count
evictedkeys_6_total Shard 6: Number of items evicted from cache. count
evictedkeys_7_total Shard 7: Number of items evicted from cache. count
evictedkeys_8_total Shard 8: Number of items evicted from cache. count
evictedkeys_9_total Shard 9: Number of items evicted from cache. count
expiredkeys_0_total Shard 0: The number of expired items in the cache. count
expiredkeys_1_total Shard 1: Number of expired items in the cache. count
expiredkeys_2_total Shard 2: Number of expired items in the cache. count
expiredkeys_3_total Shard 3: Number of expired items in the cache. count
expiredkeys_4_total Shard 4: Number of expired items in the cache. count
expiredkeys_5_total Shard 5: Number of expired items in the cache. count
expiredkeys_6_total Shard 6: Number of expired items in the cache. count
expiredkeys_7_total Shard 7: Number of expired items in the cache. count
expiredkeys_8_total Shard 8: The number of expired items in the cache. count
expiredkeys_9_total Shard 9: Number of expired items in the cache. count
geo_replication_connectivity_lag_average The time since the last successful synchronization of data with the geo master cache; continues to increase when the link is down. s
geo_replication_data_sync_offset_average An estimate of the amount of data that remains to be synchronized to the geo-assisted cache. B
geo_replication_full_sync_event_finished_count The number of events in which a full sync between geo-replicated caches has been completed; an initial full sync is usually followed by a partial resync, so it is 0 most of the time. count
geo_replication_full_sync_event_started_count The number of events when a full sync between geo-replicated caches started; an initial full sync is usually followed by a partial resync, so it is 0 most of the time. count
geo_replication_healthy_average The health status of the geo-replication link: 1 means healthy, 0 means down or unhealthy. count
getcommands_0_total Shard 0: Number of GET operations performed from cache. count
getcommands_1_total Shard 1: Number of GET operations performed from cache. count
getcommands_2_total Shard 2: Number of GET operations performed from cache. count
getcommands_3_total Shard 3: Number of GET operations performed from cache. count
getcommands_4_total Shard 4: Number of GET operations performed from cache. count
getcommands_5_total Shard 5: Number of GET operations performed from cache. count
getcommands_6_total Shard 6: Number of GET operations performed from cache. count
getcommands_7_total Shard 7: Number of GET operations performed from cache. count
getcommands_8_total Shard 8: Number of GET operations performed from cache. count
getcommands_9_total Shard 9: Number of GET operations performed from cache. count
operations_per_second_0_maximum Shard 0: Current number of cache operations per second. count
operations_per_second_1_maximum Shard 1: Current number of cache operations per second. count
operations_per_second_2_maximum Shard 2: Current number of cache operations per second. count
operations_per_second_3_maximum Shard 3: Current number of cache operations per second. count
operations_per_second_4_maximum Shard 4: Current number of cache operations per second. count
operations_per_second_5_maximum Shard 5: Current number of cache operations per second. count
operations_per_second_6_maximum Shard 6: Current number of cache operations per second. count
operations_per_second_7_maximum Shard 7: Current number of cache operations per second. count
operations_per_second_8_maximum Shard 8: Current number of cache operations per second. count
operations_per_second_9_maximum Shard 9: Current number of cache operations per second. count
percent_processor_time_0_maximum Shard 0: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_1_maximum Shard 1: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_2_maximum Shard 2: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_3_maximum Shard 3: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_4_maximum Shard 4: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_5_maximum Shard 5: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_6_maximum Shard 6: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_7_maximum Shard 7: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_8_maximum Shard 8: CPU usage percentage of Azure Redis Cache server. %
percent_processor_time_9_maximum Shard 9: CPU usage percentage of Azure Redis Cache server. %
server_load_0_maximum Shard 0: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_1_maximum Shard 1: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_2_maximum Shard 2: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_3_maximum Shard 3: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_4_maximum Shard 4: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_5_maximum Shard 5: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_6_maximum Shard 6: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_7_maximum Shard 7: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_8_maximum Shard 8: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
server_load_9_maximum Shard 9: Percentage of cycles when the Redis server was busy processing requests rather than idle waiting for messages. %
setcommands_0_total Shard 0: The number of SET operations performed to the cache. count
setcommands_1_total Shard 1: The number of SET operations performed to the cache. count
setcommands_2_total Shard 2: The number of SET operations performed to the cache. count
setcommands_3_total Shard 3: The number of SET operations performed to the cache. count
setcommands_4_total Shard 4: The number of SET operations performed to the cache. count
setcommands_5_total Shard 5: The number of SET operations performed to the cache. count
setcommands_6_total Shard 6: The number of SET operations performed to the cache. count
setcommands_7_total Shard 7: The number of SET operations performed to the cache. count
setcommands_8_total Shard 8: The number of SET operations performed to the cache. count
setcommands_9_total Shard 9: The number of SET operations performed to the cache. count
totalcommandsprocessed_0_total Shard 0: Total number of commands processed by the cache server. count
totalcommandsprocessed_1_total Shard 1: Total number of commands processed by the cache server. count
totalcommandsprocessed_2_total Shard 2: Total number of commands processed by the cache server. count
totalcommandsprocessed_3_total Shard 3: Total number of commands processed by the cache server. count
totalcommandsprocessed_4_total Shard 4: Total number of commands processed by the cache server. count
totalcommandsprocessed_5_total Shard 5: Total number of commands processed by the cache server. count
totalcommandsprocessed_6_total Shard 6: Total number of commands processed by the cache server. count
totalcommandsprocessed_7_total Shard 7: Total number of commands processed by the cache server. count
totalcommandsprocessed_8_total Shard 8: Total number of commands processed by the cache server. count
totalcommandsprocessed_9_total Shard 9: Total number of commands processed by the cache server. count
totalkeys_maximum The number of items in the cache. count
totalkeys_0_maximum Shard 0: Number of items in the cache. count
totalkeys_1_maximum Shard 1: Number of items in the cache. count
totalkeys_2_maximum Shard 2: Number of items in cache. count
totalkeys_3_maximum Shard 3: Number of items in cache. count
totalkeys_4_maximum Shard 4: Number of items in cache. count
totalkeys_5_maximum Shard 5: Number of items in cache. count
totalkeys_6_maximum Shard 6: Number of items in cache. count
totalkeys_7_maximum Shard 7: Number of items in cache. count
totalkeys_8_maximum Shard 8: Number of items in cache. count
totalkeys_9_maximum Shard 9: Number of items in cache. count
usedmemory_maximum The amount of memory occupied by key-value pairs in the cache. B
usedmemory_0_maximum Shard 0: The amount of memory occupied by key-value pairs in the cache. B
usedmemory_1_maximum Shard 1: The amount of memory occupied by key-value pairs in the cache. B
usedmemory_2_maximum Shard 2: The amount of memory occupied by key-value pairs in the cache. B
usedmemory_3_maximum Shard 3: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_4_maximum Shard 4: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_5_maximum Shard 5: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_6_maximum Shard 6: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_7_maximum Shard 7: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_8_maximum Shard 8: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_9_maximum Shard 9: Amount of memory occupied by key-value pairs in the cache. B
usedmemory_rss_0_maximum Shard 0: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_1_maximum Shard 1: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_2_maximum Shard 2: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_3_maximum Shard 3: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_4_maximum Shard 4: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_5_maximum Shard 5: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_6_maximum Shard 6: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_7_maximum Shard 7: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_8_maximum Shard 8: The amount of memory used by the cache, including memory fragmentation and metadata. B
usedmemory_rss_9_maximum Shard 9: The amount of memory used by the cache, including memory fragmentation and metadata. B