Collecting metrics using Amazon CloudWatch
You can use the CloudWatch agent to collect the system-level metrics from your AWS EC2 instances. Custom metrics are required if you want to collect metric data at a resolution that is lower than 5 minutes. The CloudWatch agent collects these metrics and sends them to Amazon CloudWatch. These metrics are useful for investigating the resource related issues that might occur in your AWS cloud environment.
To create the IAM role for an administrator to save an agent configuration file to Systems Manager Parameter Store
The details are as follows:
- Configure and run the connector. For information, see Amazon-Web-Services-connector.
The following table lists the basic metrics that are available from Amazon CloudWatch:
BMC Helix Cloud Cost metric | Unit | AWS metric | AWS service name |
---|---|---|---|
NET_TRANSFER_RATE | byte/sec | Derived | EC2 |
DISK_TRANSFER_RATE | byte/sec | Derived | EC2 |
CPU_SIZE | cores | CPUOptions.CoreCount | EC2 |
CPU_USED | cores fraction | Derived | EC2 |
CPU_UTIL | % | CPUUtilization | EC2, RDS |
DISK_IO_RATE | count/sec | Derived | RDS |
DB_CONNECTIONS | count | DatabaseConnections | RDS |
NETWORK_THROUGHPUT_RATE | byte/sec | NetworkReceiveThroughput + NetworkTransmitThroughput | RDS |
The following table lists the metrics that are available when the CloudWatch agent is installed:
BMC Helix Cloud Cost metric | Unit | AWS metric | AWS service name |
---|---|---|---|
MEMORY_SIZE | bytes | mem_total | EC2 |
MEMORY_USED | bytes | Derived | EC2 |