Accessing CloudWatch metrics for Amazon MQ
You can access CloudWatch metrics using the Amazon Web Services Management Console, Amazon CLI, and API.
You may want to access CloudWatch metrics without using the Amazon Web Services Management Console.
To access Amazon MQ metrics using the Amazon CLI, use the get-metric-statistics
command.
For more information, see Get Statistics for a Metric in the
Amazon CloudWatch User Guide.
To access Amazon MQ metrics using the CloudWatch API, use the GetMetricStatistics
action.
For more information, see Get Statistics for a Metric in the
Amazon CloudWatch User Guide.
Accesing CloudWatch metrics using the Amazon Web Services Management Console
The following example shows you how to access CloudWatch metrics for Amazon MQ using the Amazon Web Services Management Console.If you're already signed into the Amazon MQ console, on the broker Details page, choose Actions, View CloudWatch metrics.
-
Sign in to the CloudWatch console
. -
On the navigation panel, choose Metrics.
-
Select the AmazonMQ metric namespace.
-
Select one of the following metric dimensions:
-
Broker Metrics
-
Queue Metrics by Broker
-
Topic Metrics by Broker
In this example, Broker Metrics is selected.
-
-
You can now examine your Amazon MQ metrics:
-
To sort the metrics, use the column heading.
-
To graph the metric, select the check box next to the metric.
-
To filter by metric, choose the metric name and then choose Add to search.
-