Access CloudWatch Metrics for Amazon SQS
You can access metrics for Amazon SQS using the Amazon SQS console, the CloudWatch console, the AWS CLI, CloudWatch's own CLI, or programmatically using the CloudWatch API. The following procedures show you how to access the metrics using these different options.
Access Metrics Using the Amazon SQS Console
Sign in to the AWS Management Console and open the Amazon SQS console at https://console.aws.amazon.com/sqs/.
In the list of queues, choose (check) the boxes for the queues that you want to access metrics for. You can show metrics for up to 10 queues.
Choose the Monitoring tab.
To understand what a particular graph represents, hover over the information icon next to the desired graph, or see Available CloudWatch Metrics for Amazon SQS.
To change the time range for all of the graphs at the same time, for Time Range, choose the desired time range (for example, Last Hour).
To view additional statistics for an individual graph, choose the graph. After the graph displays in a larger dialog box, for Statistic, choose the desired statistic (for example, Sum). For a list of supported statistics, see Available CloudWatch Metrics for Amazon SQS.
To change the time range and time interval that an individual graph displays (for example, to show a time range of the last 24 hours instead of the last 5 minutes, or to show a time period of every hour instead of every 5 minutes), with the graph's dialog box still displayed, for Time Range, choose the desired time range (for example, Last 24 Hours). For Period, choose the desired time period within the specified time range (for example, 1 Hour). When you're finished looking at the graph, choose Close.
To work with additional CloudWatch features, on the Monitoring tab, choose View all CloudWatch metrics, and then follow the instructions in the Access Metrics Using the CloudWatch Console procedure.
Access Metrics Using the CloudWatch Console
Sign in to the AWS Management Console and open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.
In the navigation pane, choose Metrics.
Select the SQS metric namespace.
Select the Queue Metrics metric dimension.
You can now examine your Amazon SQS metrics:
To sort the metrics, use the column heading.
To graph a metric, select the check box next to the metric.
To filter by metric, choose the metric name and then choose Add to search.
Access Metrics Using the AWS CLI
Access Metrics Using the CloudWatch CLI