代码拉取完成,页面将自动刷新
porter-boot任务执行节点通过提供http服务接口支持任务状态检查
{
"healthLevel": "GREEN",//健康状态
"workMode": "ZOOKEEPER",//工作模式:ZOOKEEPER、STANDALONE
"forceAssign": true,//是否强制启动任务、节点
"workLimit": 1000,//节点最大支持同步任务的数量
"consumeProcess": {
//各同步任务堆积状态
},
"uploadStatistic": true,//是否上传统计指标
"consumerIdle": {
//各任务同步空闲时间
},
"dnodeSnapshot": {
"healthLevel": "健康级别",
"hostName": "主机名",
"address": "127.0.0.1",
"heartbeat": "最近心跳时间",
"processId": "进程号",
"healthLevelDesc": "",
"nodeId": "节点编号",
"tasks": {
//预分配任务
},
"status": "WORKING"//节点工作状态
},
"workUsed": 5,//当前已分配任务数
"healthLevelDesc": "",
"nodeId": "节点ID",
"status": "WORKING"//节点工作状态
}
返回异常任务列表,可用于zabbix监控告警