Skip to main content
In this lesson we’ll cover Amazon CloudWatch metrics: what they measure, how namespaces organize them, and how dimensions scope a metric to a specific resource. By the end you’ll know where to look in the CloudWatch console to find metrics, how to filter them, and how namespaces and dimensions help you locate the metric you need. What you’ll learn:
  • Where to find metrics in the CloudWatch console
  • How Metrics Explorer and the classic (grouped) view differ
  • How namespaces and dimensions organize and scope metrics
To explore metrics, open the CloudWatch console and go to the Metrics section. The Metrics Explorer is the fastest way to view and query metrics interactively; alternatively use All metrics for the classic grouped view.
A screenshot of the AWS Management Console search panel with "CloudWatch" highlighted under Services. Other AWS services like Athena and Amazon EventBridge are listed below on a dark-themed interface.

What is a CloudWatch metric?

A metric is a measurement recorded over time for an AWS resource or service (for example, CPU utilization, network traffic, or request counts). CloudWatch continuously collects these measurements so you can monitor performance, troubleshoot issues, and build alarms or dashboards. Use Metrics Explorer to search by service (for example, EC2) and quickly see available metrics for that service. Typical EC2 metrics include:
  • CPUUtilization
  • DiskReadOps / DiskWriteOps
  • NetworkIn / NetworkOut
  • PacketsIn / PacketsOut
  • Metadata-related metrics (for example, MetadataNoToken)
A screenshot of the AWS CloudWatch Metrics console showing an "Untitled graph" (empty) with time-range controls and buttons like "Add math" and "Add query." Metric tiles for resources such as EBS and EC2 are visible below the empty graph.

Namespaces and the classic (grouped) view

Namespaces group related metrics by service to avoid collisions between identically named metrics from different services. Each AWS service publishes into its own namespace (for example AWS/EC2 or AWS/ApplicationELB), which makes it straightforward to find metrics relevant to that service. If you prefer the classic grouped view, open the EC2 namespace. There you can:
  • Filter metrics by Auto Scaling Group or by per-instance metrics
  • See metric names such as CPUCreditBalance, EBSReadBytes, StatusCheckFailed_Instance
  • Inspect available dimensions to scope your queries
A screenshot of the AWS CloudWatch Metrics console showing an empty time-series graph. Below the graph is a table of EC2 metrics (e.g., CPUUtilization, CPUCreditBalance) with no alarms.

Dimensions: scoping metrics to resources

Dimensions are key-value pairs that identify the resource a metric applies to. They let you filter a metric to a specific resource instance. Common examples:
  • EC2 -> InstanceId
  • Application Load Balancer -> LoadBalancer or TargetGroup
  • RDS -> DBInstanceIdentifier
Specify dimensions when you add a metric to a graph or create an alarm so the metric represents exactly the resource you want to monitor.

Example: ALB metrics vs EC2 metrics

To illustrate how different namespaces contain different metric sets, switch to the Application Load Balancer (ALB) namespace. ALB metrics focus on load-balancer-specific measurements such as:
  • TargetResponseTime
  • HTTPCode_Target_2XX_Count
  • ActiveConnectionCount
  • LCUs (Load Balancer Capacity Units)
These metrics are grouped under the ALB namespace because they measure load-balancer performance and capacity rather than instance-level metrics.
A screenshot of the AWS CloudWatch Metrics console showing an untitled, empty graph with time-range and action controls. Below it are selectable metrics for an Application Load Balancer (e.g., TargetResponseTime, HTTPCode_Target_2XX_Count, ActiveConnectionCount) with no alarms.

Quick reference table

Tips and cautions

Use Metrics Explorer for quick ad-hoc queries and visualizations. When you need to create alarms or dashboards for a specific resource, switch to the grouped view and apply appropriate dimensions so your metric targets the exact resource.
Remember: CloudWatch metrics are regional. A metric published in one AWS region will not appear in another region’s console. Also check the namespace carefully — two services can have similarly named metrics, but their namespaces separate them.

Further reading

That covers the essentials: metrics measure events over time, namespaces group related metrics by service, and dimensions scope metrics to specific resources. Use Metrics Explorer for exploration and the classic grouped view when you need to pick precise dimensions for alarms or dashboards.

Watch Video