Database Workshop
Name | Type | Is it required? | Sample | Description |
InstanceId | String | Yes | mysql-cf8d83****** | Instance ID. tip You can select the following APIs to query the instance ID as needed:
|
InstanceType | String | Yes | MySQL | Database types. The following database types are supported:
|
StartTime | Integer | Yes | 1719820800 | Query start time, using second-level timestamps. |
EndTime | Integer | Yes | 1719824400 | The end time of the query, in the format of a second-level timestamp. |
ItemType | String | Yes | ExecTime | The type of metric to be queried. The values are as follows:
|
RegionId | String | Yes | cn-beijing | Region ID. |
SqlFingerprint | String | Yes | a1b2c3d4 | SQL fingerprint |
NodeId | String | No | node-a | The filter condition for node IDs. If this parameter is specified, the results are aggregated by node. |
DbName | String | No | order_db | The filter condition for database names. |
Name | Type | Sample | Description |
DataPoints | [ { "Abnormal": 0, "TimeStamp": 1787541550, "Value": 0 }, { "Abnormal": 0, "TimeStamp": 1787627086, "Value": 2 } ] | List of metric curve data points. |