get_aws_instance_monitoring
Retrieve AWS EC2 instance monitoring data for specified hours to track performance and resource usage, enabling effective cloud server management.
Instructions
获取AWS EC2实例的监控数据
Args:
instance_id (str): EC2实例ID
hours (int): 获取过去多少小时的数据
Returns:
Dict: 监控数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
hours | No | ||
instance_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"hours": {
"default": 1,
"title": "Hours",
"type": "integer"
},
"instance_id": {
"title": "Instance Id",
"type": "string"
}
},
"required": [
"instance_id"
],
"title": "get_aws_instance_monitoringArguments",
"type": "object"
}