das__ExportSlowSqlTrendDetails
Exports slow SQL quantity trend details for a Huawei Cloud database instance and time range after the slow SQL switch is enabled; supports MySQL and GaussDB(for MySQL) with pagination.
Instructions
[DAS] 慢SQL开关打开后,导出慢SQL数量趋势。免费实例仅支持查看最近一小时数据。查询时间间隔最长一天。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datastore_type": "<datastore_type>",
"end_at": "<end_at>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"start_at": "<start_at>"
},
"name": "das__ExportSlowSqlTrendDetails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页记录数,默认为20,最大取值100。 | |
| end_at | Yes | 结束时间(Unix timestamp),单位:毫秒。 | |
| offset | No | 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 | |
| node_id | No | 节点ID。 | |
| start_at | Yes | 开始时间(Unix timestamp),单位:毫秒。 | |
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| datastore_type | Yes | 数据库类型。支持MySQL和GaussDB(for MySQL)。 |