Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

porter-boot的运维接口 #11

Open
zhangkewei opened this issue Jan 15, 2019 · 0 comments
Open

porter-boot的运维接口 #11

zhangkewei opened this issue Jan 15, 2019 · 0 comments
Labels
question Further information is requested

Comments

@zhangkewei
Copy link
Collaborator

zhangkewei commented Jan 15, 2019

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监控告警
@zhangkewei zhangkewei added the question Further information is requested label Jan 15, 2019
@zhangkewei zhangkewei changed the title porter-boot的http服务接口 porter-boot的运维接口 Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant