Retrieves the real-time health score of a cluster or node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetInstantScore |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/openapi/cluster_health/instant/score 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 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code.
|
Success |
| data |
object |
The returned data. |
|
| error |
number |
The error score. |
100 |
| latency |
number |
The latency score. |
100 |
| load |
number |
The load score. |
100 |
| saturation |
number |
The saturation score. |
100 |
| total |
number |
The total score. |
100 |
| message |
string |
The error message.
|
Query no data |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
Examples
Success response
JSON format
{
"code": "Success",
"data": {
"error": 100,
"latency": 100,
"load": 100,
"saturation": 100,
"total": 100
},
"message": "Query no data",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.