Retrieves the proportion of anomaly issues for nodes in a cluster or pods in a node within a specified time range.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetProblemPercentage |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/openapi/cluster_health/range/problem_percentage HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster |
string |
No |
The cluster ID. |
2ijff4be-bf24-4070-89ca-c47c879b0g32 |
| instance |
string |
No |
The instance ID. |
i-wz9d00ut2ska3mlyhn6j |
| start |
number |
Yes |
The start time. |
1725797727754 |
| end |
number |
Yes |
The end time. |
1725801327754 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code.
|
Success |
| data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| type |
string |
The anomaly item type. Valid values:
|
saturation |
| value |
integer |
The number of anomaly items of this type. |
5 |
| message |
string |
The error message.
|
result: code=1 msg=(Request failed, status_code != 200) |
| request_id |
string |
The request ID. |
35F91AAB-5FDF-5A22-B211-C7C6B00817D0 |
| total |
integer |
The total amount of data. |
19 |
Examples
Success response
JSON format
{
"code": "Success",
"data": [
{
"type": "saturation",
"value": 5
}
],
"message": "result: code=1 msg=(Request failed, status_code != 200)",
"request_id": "35F91AAB-5FDF-5A22-B211-C7C6B00817D0",
"total": 19
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.