查询Coordinator运行状态。
该接口不需要用户调用,属于Coordinator和Controllor之间的通信接口。
操作类型:GET
URL:https://{ip}:{port}/v1/coordinator_info
无。
请求样例:
GET https://{ip}:{port}/v1/coordinator_info
响应样例:
{ "schedule_info": [ { "id": 0, "allocated_slots": 10, "allocated_blocks": 10 }, { "id": 1, "allocated_slots": 10, "allocated_blocks": 10 } ], "request_length_info": { "input_len": 100, "output_len": 100 } }
参数 |
类型 |
说明 |
---|---|---|
schedule_info |
object[] |
必填。 节点调度信息。 |
id |
uint64_t |
必填。 节点ID。 |
allocated_slots |
size_t |
必填。 已分配的slots数量。 |
allocated_blocks |
size_t |
必填。 已分配的block数量。 |
request_length_info |
- |
必填。 请求的平均输入输出长度。 |
input_len |
size_t |
必填。 请求的平均输入长度。 |
output_len |
size_t |
必填。 请求的平均输出长度。 |