Menu
Amazon CloudWatch
User Guide

Graph a Metric

You can select metrics and create graphs of the data using the CloudWatch console.

CloudWatch supports the following statistics on metrics: Average, Minimum, Maximum, Sum, and SampleCount. For more information, see Statistics.

You can view your data at different granularities. For example, you can choose a detailed view (for example 1 minute), which can be useful when troubleshooting. You can choose a less detailed view (for example, 1 hour), which can be useful when viewing a broader time range (for example, 3 days) so that you can see trends over time. For more information, see Periods.

Create a Graph

To graph a metric

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Metrics.

  3. On the All metrics tab, type a search term in the search field, such as a metric name or resource name, and press Enter.

    For example, if you search for the CPUUtilization metric, you'll see the namespaces and dimensions with this metric.

  4. Select one of the results for your search to view the metrics.

  5. To graph one or more metrics, select the check box next to each metric. To select all metrics, select the check box in the heading row of the table.

    Graph a single metric
  6. To view more information about the metric being graphed, hover over the legend.

  7. To get a URL for your graph, choose Actions, Share. Copy the URL and save it or share it.

  8. To add your graph to a dashboard, choose Actions, Add to dashboard.

Update a Graph

To update your graph

  1. To change the name of the graph, choose the pencil icon.

  2. To change the time range, select one of the predefined values or choose custom. For more information, see Modify the Time Range for a Graph.

  3. To change the statistic, choose the Graphed metrics tab. Choose the column heading or an individual value, and then choose one of the statistics or predefined percentiles, or specify a custom percentile (for example, p95.45).

    View the metric statistic options
  4. To change the period, choose the Graphed metrics tab. Choose the column heading or an individual value, and then choose a different value.

    View the metric period options
  5. To change the refresh interval, choose Refresh options, and then select Auto refresh or choose 1 Minute, 2 Minutes, 5 Minutes, or 15 Minutes.

    View the refresh interval options

Duplicate a Metric

To duplicate a metric

  1. Choose the Graphed metrics tab.

  2. For Actions, choose the Duplicate icon.

    Duplicate a metric
  3. Update the duplicate metric as needed.