describe_monitor_metrics
Query detailed performance and diagnostic metrics, including IOPSUsage and DiskUsage, for a specific Alibaba Cloud RDS instance. Specify time range and metrics to monitor database health and performance effectively.
Instructions
Queries performance and diagnostic metrics for an instance using the DAS (Database Autonomy Service) API.
This method provides extra monitoring and diagnostic data which cannot be queried by describe_db_instance_performance, such as IOPSUsage, MdlLockSession, etc.
Args:
dbinstance_id (str): The ID of the RDS instance.
metrics_list (list[str]): The metrics to query. (e.g. ["IOBytesPS", "IOPSUsage", "MdlLockSession", "DiskUsage"])
db_type (str): The type of the database. (e.g. "mysql")
start_time(str): the start time. e.g. 2025-06-06 20:00:00
end_time(str): the end time. e.g. 2025-06-06 20:10:00
Returns:
the monitor metrics information.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
db_type | Yes | ||
dbinstance_id | Yes | ||
end_time | Yes | ||
metrics_list | Yes | ||
start_time | Yes |
Input Schema (JSON Schema)
{
"properties": {
"db_type": {
"title": "Db Type",
"type": "string"
},
"dbinstance_id": {
"title": "Dbinstance Id",
"type": "string"
},
"end_time": {
"title": "End Time",
"type": "string"
},
"metrics_list": {
"items": {
"type": "string"
},
"title": "Metrics List",
"type": "array"
},
"start_time": {
"title": "Start Time",
"type": "string"
}
},
"required": [
"dbinstance_id",
"metrics_list",
"db_type",
"start_time",
"end_time"
],
"title": "describe_monitor_metricsArguments",
"type": "object"
}