Skip to main content

An official website of the United States government

Here’s how you know

Now available in Cloud.gov Logs: Metrics for ElastiCache services

· 2 min read

The Cloud.gov team is excited to announce the addition of metrics and dashboards for brokered ElastiCache instances to Cloud.gov Logs, which will allow customers to monitor their ElasticCache services more effectively.

Available ElastiCache Metrics

Memory and Storage Metrics

Cache Utilization

These metrics help identify how efficiently the cache is being used.

  • Bytes Used For Cache, metric_name: BytesUsedForCache
  • Cache Hit Rate, metric_name: CacheHitRate

Memory Capacity

These metrics monitor memory consumption and potential memory-related issues.

  • Database Memory Usage Percentage, metric_name: DatabaseMemoryUsagePercentage
  • Database Capacity Usage Percentage, metric_name: DatabaseCapacityUsagePercentage
  • Freeable Memory, metric_name: FreeableMemory
  • Memory Fragmentation Ratio, metric_name: MemoryFragmentationRatio

System Resource Metrics

CPU Utilization

These metrics help identify processing load and potential performance bottlenecks.

  • CPU Utilization, metric_name: CPUUtilization
  • Engine CPU Utilization, metric_name: EngineCPUUtilization

Using the Services - ElasticCache Dashboard

A quick way to view ElasticCache metrics is to:

  1. Log in to the logging system
  2. Click on "Dashboards" in the left sidebar menu
  3. Enter "Services" in the search bar
  4. Follow the link for "Services - ElasticCache"

"Screenshot of searching OpenSearch Dashboards for ones with 'Services' in the name"

How to Search Metrics in the Logging System

Metrics are ingested into the logging system with the value @type: metrics, which provides an easy way to filter them.

To find your metrics in the logging system:

  1. Log in to the logging system
  2. Click on "Discover" in the left sidebar menu
  3. Add a filter for @type: metrics to your log search

"Screenshot of OpenSearch Dashboards interface showing the addition of a filter for the @type field with a value of metrics"

  1. Apply additional filters on the metrics event fields as desired. For example, to filter for BytesUsedForCache, add a filter of metric_name: BytesUsedForCache:

"Screenshot of OpenSearch Dashboards interface showing a filtered search for the metric BytesUsedForCache"

Metrics Fields

The fields available on elasticcache metrics records are:

  • @cf.service_offering - Type of service being monitored
  • @cf.service_plan - Specific service plan details
  • metric.average - Numeric value of the metric
  • metric_name - Name of the specific metric
  • metric.unit - Unit of measurement
  • metric.cluster_identifier - ElastiCache cluster and node.

Retention

Metric events are retained in the logging system for 3 months and in offline storage for 30 months.

GSA.gov

An official website of the U.S. General Services Administration

Looking for U.S. government information and services?
Visit USA.gov