Help Amazon Web Services Amazon ElastiCache

Amazon ElastiCache Monitoring Integration

Amazon ElastiCache is an in-memory data store in the cloud that speeds up queries and helps in improving latency and throughput of your application. With Site24x7's CloudWatch integration you can visualize, monitor and get alerted on important metrics for both the Redis and Memcached engine.

Setup and configuration

  • If you haven't done already, enable access to your AWS resources either by creating Site24x7 as an IAM user or by creating a cross account IAM role between your AWS account and Site24x7's AWS account. Learn more.
  • In the Integrate AWS Account page, make sure the check box next to the ElastiCache listing is selected. Learn more.

Policies and permissions

The following permissions are required by Site24x7 to discover your configured Redis/Memcached nodes and Memcached clusters and to collect configuration information.

  • "elasticache:Describe*" : Returns information regarding individual cache clusters and cache nodes.
  • "elasticache:List*" : Lists the tags for the resource.

Polling Frequency

Site24x7 queries AWS to collect AWS ElastiCache performance metrics according to the configured polling frequency. The polling interval is one hour by default. Learn more

IT Automations

You can add automations for the AWS services supported by Site24x7. Log in to Site24x7 and go to Admin > IT Automation Templates (+) > Add Automation Templates. Once automations are added, you can schedule them to be executed one after the other.

You can now reboot ElastiCache clusters using Amazon ElastiCache automations.

Supported performance counters

Host-level data

The following host-level data is collected:

AttributeDescriptionStatisticsData type
CPU utilization Measures the CPU utilization of the host. Average, minimum and maximum Percent
Freeable memory Measures the amount of available free memory in the host. Average, minimum and maximum Bytes
Network bytes in Measures the number of bytes the host has read from the network. Average, minimum and maximum Bytes
Network bytes out Measures the number of bytes the host has written to the network. Average, minimum and maximum Bytes
Swap usage Measures the swap used by the host. Average, minimum and maximum Bytes

Common cache metrics

The following data is supported for both Redis and Memcached

AttributeDescriptionStatisticsData type
CurrConnections The number of application clients connected to Redis/Memcached.   Average, sum count
CurrItems The number of keys in the in-memory database.  Average,sum count
Evictions The number of keys that have been removed due to reaching the maxmemory limit. Average,sum count
NewConnections the total number of connections that has been accepted by the database server.  Average,sum count

Metrics supported for the Redis cache engine

The following data is collected only for the Redis node:

AttributeDescriptionStatisticsData type
BytesUsedForCache The number of bytes allocated by Redis.  Average Bytes
CacheHits Number of successful keyspace lookups.  Sum count
CacheMisses Number of unsuccesful keyspace lookups. Sum count
GetTypeCmds The total number of Get types of commands. Sum count
HashBasedCmds The total number of commands that are hash-based.  Sum count
HyperLogLogBasedCmds The total number of HyperLogLog based commands.  Sum count
KeyBasedCmds The total number of commands that are key-based. Sum count
ListBasedCmds The total number of commands that are list-based.  Sum count
Reclaimed The total numebr of key expiration events.  Sum  count
ReplicationBytes Total number of bytes the primaru node is sending to all replicas.  Sum count
ReplicationLag In seconds, how far behind the read replica is in applying changes from the primary node. Average Seconds
SaveInProgress The metric is incremented whenever a bacground save is in progress. Sum count
SetBasedCmds Total number of commands that are set-based. Sum count
SetTypeCmds Total number of set types of commands. Sum count
SortedSetBasedCmds The total number of commands that are sorted set-based. Sum count
StringBasedCmds Total number of commads that are string-based Sum  count

Metrics supported for the Memcached engine

Sit24x7 collects the following performance data for your Memcached nodes and aggregates the values across your nodes and provides calculated metrics for your Memcached clusters.

AttributeDescriptionStatisticsData type
BytesReadIntoMemcached The total number of bytes that have been read by the node from the network. Average Bytes
BytesUsedForCacheItems The total number of bytes used to store cache items. Average  Bytes 
BytesWrittenOutFromMemcached The total number of bytes that have written by the node to the network.  Average  Bytes
CasBadval The total number of check and set requests received by the cache where Cas value did not match. Sum  count 
CasHits The total number of check and set requests received by the cache where key and value both matched. Sum  count 
CasMisses The total number of check and set request received by the cache where key was not found.  Sum  count 
CmdFlush Number of Flush commands received.  Sum  count 
CmdGet Number of Get commands received.  Sum  count 
CmdSet Number of Set commands received. Sum  count 
DecrHits The number of decrement requests received by the cache where the key matched.  Sum  count 
DecrMisses The number of decrement requests received by the cache where the key was not found. Sum  count 
DeleteHits The number of delete requests received by the cache where the key matched.   Sum  count 
DeleteMisses The number of delete requests received by the cache where the key was not found. Sum  count 
GetHits The number of Get requests received by the cache where the request key was found.  Sum count 
GetMisses The number of Get requests received by the cache where the key was not found.  Sum  count 
IncrHits The number of increment requests received by the cache where the key was found.   Sum  count 
IncrMisses The number of increment requests received by the cache where the key was not found   Sum  count 
Reclaimed The number of expired items the cache evicted to aide new writes. Sum  count 

Add or edit a threshold profile for ElastiCache

Site24x7 support individual threshold profiles for your Memcached cluster, Memcached node and Redis node. To learn more on how you can create, edit and delete a threshold profile for your ElastiCache deployment, visit our configuration profiles page.

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Amazon Web Services Amazon ElastiCache