Queries monitoring rules based on a partition filter expression.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectName | string | Yes | The name of the compute engine or data source. You can obtain the name from data source configurations. | autotest |
EntityId | long | Yes | The ID of the partition filter expression. You can call the GetQualityEntity operation to query the ID of the partition filter expression. | 1234 |
PageNumber | integer | Yes | The page number. | 1 |
PageSize | integer | Yes | The number of entries per page. Default value: 10. Maximum value: 20. | 20 |
ProjectId | long | Yes | The DataWorks workspace ID. | 12345 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "38cbdef0-f6cf-49****",
"ErrorMessage": "You have no permission.",
"Success": true,
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Data": {
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 400,
"Rules": [
{
"BlockType": 0,
"OnDutyAccountName": "test",
"Property": "id",
"WarningThreshold": "10",
"TableName": "dual",
"OnDuty": "1912****",
"Comment": "",
"RuleCheckerRelationId": 132323,
"FixCheck": true,
"MethodId": 21,
"TemplateName": "",
"Trend": "abs",
"HistoryWarningThreshold": "history max:40%,history min:10%",
"RuleType": 0,
"MatchExpression": "dt=$[yyyymmdd]",
"ProjectName": "autotest",
"PropertyKey": "table_count",
"CriticalThreshold": "40",
"HistoryCriticalThreshold": "history max:80%,history min:50%",
"MethodName": "count/table_count",
"CheckerId": 7,
"EntityId": 1234,
"ExpectValue": "1000",
"TemplateId": 7,
"Id": 1234,
"RuleName": "test"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-01-22 | The response structure of the API has changed | View Change Details |
2023-07-11 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-03-08 | The request parameters of the API has changed | View Change Details |
2021-10-26 | The response structure of the API has changed | View Change Details |