get_ec2_metrics
Retrieve CloudWatch CPU and network metrics for an EC2 instance over a specified time period, enabling quick performance monitoring.
Instructions
Get CloudWatch metrics (CPU, network) for an EC2 instance over a specified time period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | The EC2 instance ID | |
| periodMinutes | No | Time period in minutes to fetch metrics for (default: 60, max: 1440) |