View proxy metrics
View the metrics for a proxy using the console or the AWS CLI. Choose the tab for the method that you want to use.
- Console
-
The Monitoring tab on the proxy details page shows graphs of the proxy metrics. You can also view the same metrics in the CloudWatch console.
To view metrics for a proxy
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
-
In the navigation pane, choose Proxies.
-
Choose the name of the proxy to open its details page.
-
Choose the Monitoring tab to view the metric graphs.
-
- AWS CLI
-
To retrieve metric data for a proxy, run the get-metric-statistics command for CloudWatch. Filter the data with the
LoadBalancerdimension, using the ARN of your proxy as the value.Fragment:
aws cloudwatch get-metric-statistics \ --namespace AWS/ProxyELB \ --metric-name RequestCount \ --dimensions Name=LoadBalancer,Value=<proxy-arn> \ --start-time <start-time> \ --end-time <end-time> \ --period 60 \ --statistics SumReplace
proxy-arnwith the ARN of your proxy. Replacestart-timeandend-timewith the start and end of the time range that you want.