Domain name for API request: dbbrain.tencentcloudapi.com.
This API is used to get the details of an instance exception diagnosis event.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeDBDiagEvent. |
Version | Yes | String | Common Params. The value used for this API: 2021-05-27. |
Region | No | String | Common Params. This parameter is not required for this API. |
InstanceId | Yes | String | Instance ID. |
EventId | No | Integer | Event ID, which can be obtained through the DescribeDBDiagHistory API. |
Product | No | String | Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql . |
Parameter Name | Type | Description |
---|---|---|
DiagItem | String | Diagnosis item. |
DiagType | String | Diagnosis type. |
EventId | Integer | Event ID. |
Explanation | String | Diagnosis event details. If there is no additional explanation information, the output will be empty. |
Outline | String | Diagnosis summary. |
Problem | String | Found problem. |
Severity | Integer | Severity, which can be divided into 5 levels: 1 (Critical), 2 (Severe), 3 (Alarm), 4 (Reminder), 5 (healthy). |
StartTime | Timestamp | Start time |
Suggestions | String | Suggestions. If there are no suggestions, the output will be empty. |
Metric | String | Reserved field. Note: This field may return null, indicating that no valid values can be obtained. |
EndTime | Timestamp | End time. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dbbrain.tencentcloudapi.com/?Action=DescribeDBDiagEvent
&InstanceId=test
&EventId=5
&<Common request parameters>
{
"Response": {
"Suggestions": "[]",
"DiagType": "Database snapshot",
"EndTime": "2019-11-06 12:05:50",
"RequestId": "78cf7bb1-0608-11ea-a9ef-2736f0f7f829",
"Explanation": "[]",
"StartTime": "2019-11-06 12:05:40",
"Severity": 4,
"EventId": 5,
"Outline": "1 problem found during database health check",
"Problem": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"Session snapshot\"}},{\"DataType\":\"title\",\"Data\":{\"Name\":\"Transaction snapshot\"}},{\"DataType\":\"title\",\"Data\":{\"Name\":\"InnoDB status snapshot\"}}]",
"Metric": "",
"DiagItem": "Health check"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure | Error with CAM signature/authentication. |
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Incorrect parameter value. |
LimitExceeded | The quota limit is exceeded. |
MissingParameter | Missing parameter. |
OperationDenied | Operation denied. |
OperationDenied.UserHasNoStrategy | Error with CAM authentication. |
ResourceNotFound | The resource does not exist. |
UnauthorizedOperation | The operation is unauthorized. |
UnknownParameter | Unknown parameter. |
UnsupportedOperation | Unsupported operation. |
Was this page helpful?