APPHUB管理服务
配置文件hm_pro(test)_apphubmgr.properties
日志配置
log.level=INFO
日志级别,含INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL
log.debug=false
是否开启debug日志
log.fsize=10
日志单次输出块大小
log.collectEnable=false
是否收集日志
log.collectMatch=
收集指定日志的正则匹配
meta.datacenterid=1
节点ID
meta.nodetype=\u5FC3\u8DF3\u670D\u52A1
节点名称,UTF8编码
基础feature配置
message producer 消息生产者
resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent
消息生产者组件主类
resource.messageproducer.properties=
feature属性配置,for example: key1=value1,key2=value2,...
resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
消息中间件服务(RocketMQ)地址,多个以分号隔开
resource.messageproducer.messagingthreshold=30
消息压缩阈值,超过则压缩发送,单位kb
System Http Invoker http调用客户端
resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent
http调用组件类
resource.httpinvoke.properties=
feature属性配置,for example:key1=value1,key2=value2,...
resource.httpinvoke.http.client.maxperroute=20
客户端单路由最大连接数
resource.httpinvoke.http.client.maxtotal=100
客户端最大连接数
resource.httpinvoke.http.client.sotimeout=10000
客户端socket连接超时时间,单位ms
resource.httpinvoke.http.client.conntimeout=10000
客户端连接超时时间,单位ms
resource.httpinvoke.http.client.reqtimeout=10000
客户端请求超时时间,单位ms
nodeoperagent 节点控制feature
feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
节点控制feature主jar,用于classloader隔离
feature.nodeoperagent.enable=true
启用节点控制feature
feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
节点控制feature主类
feature.nodeoperagent.http.port=10120
节点控制服务端口
notifyagent 报警feature
feature.notifyagent.loader=com.creditease.uav.notifymanager.jar
报警feature主jar,用于classloader隔离
feature.notifyagent.enable=true
启用报警feature
feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
报警feature主类
feature.notifyagent.properties=
报警feature属性配置,for example: key1=value1,key2=value2,...
feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
报警feature主类
feature.notifyagent.expireTime=14400
报警事件过期时间,单位s
feature.notifyagent.frozenTime=300
报警事件压制时间,单位s
heartbeatclientagent 心跳客户端feature
feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
心跳客户端feature主jar,用于classloader隔离
feature.hbclientagent.enable=true
启用心跳客户端feature
feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
心跳客户端feature主类
feature.hbclientagent.properties=
心跳客户端feature属性配置,for example: key1=value1,key2=value2,...
feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
心跳发送处理类
feature.hbclientagent.hbservers=127.0.0.1:8011
心跳服务器地址
feature.hbclientagent.interval=15000
心跳发送间隔,单位ms
功能feature配置
apphubmanager AppHub管理服务feature
feature.apphubmanager.loader=com.creditease.uav.healthmanager-1.0.jar
AppHub管理服务feature主jar,用于classloader隔离
feature.apphubmanager.enable=true
启用AppHub管理服务服务feature
feature.apphubmanager.components=com.creditease.uav.feature.AppHubManager
AppHub管理服务服务feature主类
feature.apphubmanager.appHubManagerHandlers=com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreAppHandler,com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreGroupHandler,com.creditease.uav.feature.apphubmanager.http.handlers.AHDataStoreFeedbackHandler
AppHub管理服务服务处理类
feature.apphubmanager.http.port=8031
AppHub管理服务服务端口
feature.apphubmanager.http.backlog=10
AppHub管理服务服务连接队列长度
feature.apphubmanager.http.core=20
AppHub管理服务服务核心线程数
feature.apphubmanager.http.max=100
AppHub管理服务服务最大线程数
feature.apphubmanager.http.bqsize=20
AppHub管理服务服务队列长度
feature.apphubmanager.ds.enable=true
启用AppHub管理服务服务数据源
feature.apphubmanager.ds.servers=127.0.0.1:27017
AppHub管理服务服务数据源(mongo)地址
feature.apphubmanager.ds.db=apphubDataStore
AppHub管理服务服务数据库名称
feature.apphubmanager.ds.power=apphubDataStore
AppHub管理服务服务数据库用户角色
feature.apphubmanager.ds.usr=
AppHub管理服务服务数据库用户名
feature.apphubmanager.ds.pwd=
AppHub管理服务服务数据库密码
HealthManager HM服务feature
feature.healthmanager.loader=com.creditease.uav.healthmanager-1.0.jar
HM服务feature主jar,用于classloader隔离
feature.healthmanager.enable=true
启用HM服务feature
feature.healthmanager.components=com.creditease.uav.feature.HealthManager
HM服务feature主类
feature.healthmanager.properties=
HM服务属性配置,for example: key1=value1,key2=value2,...
feature.healthmanager.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
HM信息消息队列MQ地址,可多个,用','隔开
feature.healthmanager.MT_Monitor.consumethreadmax=10
实时数据消费最大线程数
feature.healthmanager.MT_Notify.consumethreadmax=10
预警数据消费最大线程数
feature.healthmanager.MT_Profile.consumethreadmax=10
画像数据消费最大线程数
feature.healthmanager.MT_Node.consumethreadmax=10
应用容数据消费最大线程数
feature.healthmanager.MT_Monitor.consumestopinterval=0
实时数据消费间隔时间,单位ms
feature.healthmanager.MT_Notify.consumestopinterval=0
预警数据消费间隔时间,单位ms
feature.healthmanager.MT_Profile.consumestopinterval=0
画像数据消费间隔时间,单位ms
feature.healthmanager.MT_Node.consumestopinterval=0
应用容器数据消费间隔时间,单位ms
feature.healthmanager.MT_Monitor.enable=false
是否消费实时数据
feature.healthmanager.MT_Notify.enable=false
是否消费预警数据
feature.healthmanager.MT_Profile.enable=false
是否消费画像数据
feature.healthmanager.MT_Node.enable=false
是否消费应用容器数据
feature.healthmanager.healthMangerHandlers=com.creditease.uav.feature.healthmanager.http.handlers.HMDataStoreQueryHandler,com.creditease.uav.feature.healthmanager.http.handlers.HMCacheQueryHandler
HM数据处理类
feature.healthmanager.http.port=8044
HM数据查询端口
feature.healthmanager.http.backlog=20
HM数据查询服务连接队列长度
feature.healthmanager.http.core=20
HM数据查询服务核心线程数
feature.healthmanager.http.max=200
HM数据查询服务最大线程数
feature.healthmanager.http.bqsize=5
HM数据查询服务队列长度
feature.healthmanager.lifekeeper.enable=false
是否开启心跳判活
feature.healthmanager.lifekeeper.interval=60000
心跳判活间隔时间,单位ms
feature.healthmanager.store.addr=127.0.0.1:6379
HM数据信息存储(redis)地址
feature.healthmanager.store.concurrent.min=30
redis客户端线程池最小线程数
feature.healthmanager.store.concurrent.max=300
redis客户端线程池最大线程数
feature.healthmanager.store.concurrent.bqsize=5
redis客户端线程池队列长度
feature.healthmanager.store.concurrent.pwd=
redis密码
feature.DBSource.MongoDB4Profile
feature.healthmanager.MT_Profile.ds.enable=true
是否启用存储画像数据的数据源(mongo)
feature.healthmanager.MT_Profile.ds.servers=127.0.0.1:27017
画像数据的数据源(mongo)地址
feature.healthmanager.MT_Profile.ds.db=profileDataStore
画像数据的数据库名称
feature.healthmanager.MT_Profile.ds.power=profileDataStore
画像数据的数据库用户角色
feature.healthmanager.MT_Profile.ds.usr=
画像数据的数据库用户名
feature.healthmanager.MT_Profile.ds.pwd=
画像数据的数据库密码
feature.DBSource.MongoDB4Notification
feature.healthmanager.MT_Notify.ds.enable=true
是否启用存储预警数据的数据源(mongo)
feature.healthmanager.MT_Notify.ds.servers=127.0.0.1:27017
预警数据的数据源(mongo)地址
feature.healthmanager.MT_Notify.ds.db=notifyDataStore
预警数据的数据库名称
feature.healthmanager.MT_Notify.ds.power=notifyDataStore
预警数据的数据库用户角色
feature.healthmanager.MT_Notify.ds.usr=
预警数据的数据库用户名
feature.healthmanager.MT_Notify.ds.pwd=
预警数据的数据库密码
feature.DBSource.OpenTSDB4Monitor
feature.healthmanager.MT_Monitor.ds.enable=true
是否启用存储实时数据的数据源(opentsdb)
feature.healthmanager.MT_Monitor.ds.servers=127.0.0.1:4243,127.0.0.1:4243
实时数据的数据源(opentsdb)地址
feature.healthmanager.MT_Monitor.ds.db=monitorDataStore
实时数据的数据库名称
feature.healthmanager.MT_Monitor.ds.maxPerRoute=50
实时数据的数据库客户端单路由最大连接数
feature.healthmanager.MT_Monitor.ds.maxRoute=50
实时数据的数据库客户端最大连接数
feature.healthmanager.MT_Monitor.ds.soTimeout=10000
实时数据的数据库客户端socket连接超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.connTimeout=5000
实时数据的数据库客户端连接超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.reqTimeout=5000
实时数据的数据库客户端请求超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.batchsize=50
实时数据的数据库批量提交阈值
feature.healthmanager.MT_Monitor.ds.retry=3
实时数据的数据库提交重试次数
feature.healthmanager.MT_Monitor.ds.expire=30000
实时数据的数据库提交超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.cachetime=5
实时数据缓存时间,单位min
feature.DBSource.OpenTSDB4Node
feature.healthmanager.MT_Node.ds.enable=true
是否启用存储应用容器数据的数据源(opentsdb)
feature.healthmanager.MT_Node.ds.servers=127.0.0.1:4243,127.0.0.1:4243
应用容器数据的数据源(opentsdb)地址
feature.healthmanager.MT_Node.ds.db=nodeDataStore
应用容器数据的数据库名称
feature.healthmanager.MT_Node.ds.maxPerRoute=10
应用容器数据的数据库客户端单路由最大连接数
feature.healthmanager.MT_Node.ds.maxRoute=50
应用容器数据的数据库客户端最大连接数
feature.healthmanager.MT_Node.ds.soTimeout=10000
应用容器数据的数据库客户端socket连接超时时间,单位ms
feature.healthmanager.MT_Node.ds.connTimeout=5000
应用容器数据的数据库客户端连接超时时间,单位ms
feature.healthmanager.MT_Node.ds.reqTimeout=3000
应用容器数据的数据库客户端请求超时时间,单位ms
feature.healthmanager.MT_Node.ds.retry=3
应用容器数据的数据库提交重试次数
feature.healthmanager.MT_Node.ds.batchsize=50
应用容器数据的数据库批量提交阈值
feature.healthmanager.MT_Node.ds.expire=30000
应用容器数据的数据库提交超时时间,单位ms
heartbeatserveragent 心跳服务feature
feature.hbserveragent.loader=com.creditease.uav.agent.heartbeat.jar
心跳客户端feature主jar,用于classloader隔离
feature.hbserveragent.enable=true
启用心跳服务feature
feature.hbserveragent.components=com.creditease.agent.feature.HeartBeatServerAgent
心跳服务feature主类
feature.hbserveragent.properties=
心跳客户端feature属性配置,for example: key1=value1,key2=value2,...
feature.hbserveragent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBServerDefaultHandler
心跳服务数据处理类
feature.hbserveragent.http.port=8012
心跳服务数据接收端口
feature.hbserveragent.hbqueryhandlers=com.creditease.agent.feature.hbagent.handlers.HBQueryHandler
心跳查询服务处理类
feature.hbserveragent.http.qport=8022
心跳数据查询端口
feature.hbserveragent.http.backlog=10
心跳http服务连接队列长度
feature.hbserveragent.http.core=20
心跳http服务核心线程数
feature.hbserveragent.http.max=150
心跳http服务最大线程数
feature.hbserveragent.http.bqsize=5
心跳http服务队列长度
feature.hbserveragent.store.addr=127.0.0.1:6379
心跳信息存储(redis)地址
feature.hbserveragent.store.concurrent.min=30
redis客户端线程池最小线程数
feature.hbserveragent.store.concurrent.max=150
redis客户端线程池最大线程数
feature.hbserveragent.store.concurrent.bqsize=5
redis客户端线程池队列长度
feature.hbserveragent.store.concurrent.pwd=
redis密码
feature.hbserveragent.ismaster=true
是否是心跳服务master节点,false则为级联节点,只负责传递信息,不做处理。
feature.hbserveragent.lifekeeper.enable=true
是否开启心跳判活
feature.hbserveragent.lifekeeper.interval=15000
心跳判活间隔时间,单位ms
feature.hbserveragent.lifekeeper.locktimeout=60000
心跳判活服务分布式锁过期时间
feature.hbserveragent.lifekeeper.nodetimeout=30000
心跳判活服务节点信息过期时间
runtimenotify 实时预警feature
feature.runtimenotify.loader=com.creditease.uav.healthmanager-1.0.jar
实时预警feature主jar,用于classloader隔离
feature.runtimenotify.enable=true
启用实时预警feature
feature.runtimenotify.components=com.creditease.uav.feature.RuntimeNotifyCatcher
实时预警feature主类
feature.runtimenotify.rnhandlers=com.creditease.uav.feature.runtimenotify.RuntimeNotifyDataHandler
实时预警信息处理类
feature.runtimenotify.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
预警信息消息队列MQ地址,可多个,用','隔开
feature.runtimenotify.MT_Runtime.consumethreadmax=30
消费最大线程数
feature.runtimenotify.MT_Runtime.consumestopinterval=0
消费间隔时间,单位ms
feature.runtimenotify.MT_Runtime.enable=false
是否消费主题为MT_Runtime的信息
feature.runtimenotify.cm.server=127.0.0.1:6379
预警缓存(redis)地址
feature.runtimenotify.cm.minsize=5
redis线程池最小线程数
feature.runtimenotify.cm.maxsize=10
redis线程池最大线程数
feature.runtimenotify.cm.qsize=20
redis线程池队列长度
feature.runtimenotify.storecm.server=127.0.0.1:6379
预警分片数据缓存(redis)地址
feature.runtimenotify.storecm.minsize=30
redis线程池最小线程数
feature.runtimenotify.storecm.maxsize=60
redis线程池最大线程数
feature.runtimenotify.storecm.qsize=20
redis线程池队列长度
feature.runtimenotify.qworker.coresize=10
预警处理线程池核心线程数
feature.runtimenotify.qworker.maxsize=30
预警处理线程池最大线程数
feature.runtimenotify.qworker.bqsize=50
预警处理线程池队列长度
feature.runtimenotify.qworker.keepalivetimeout=60000
预警进程死亡判断过期时间,单位ms
feature.runtimenotify.nodeinfoprocess.exchange=false
节点心跳数据是否exchange到实时预警模块
feature.runtimenotify.nodeinfotimer.period=15000
节点心跳数据接收频率
feature.runtimenotify.rnswhandlers=com.creditease.uav.feature.runtimenotify.http.RuntimeNotifyServerHandler
实时预警http服务处理类
feature.runtimenotify.http.port=9004
实时预警http服务端口
feature.runtimenotify.http.backlog=10
实时预警http服务连接队列长度
feature.runtimenotify.http.core=20
实时预警http服务核心线程数
feature.runtimenotify.http.max=100
实时预警http服务最大线程数
feature.runtimenotify.http.bqsize=5
实时预警http服务队列长度
feature.runtimenotify.crash.timeout=300000
预警进程死亡判断过期时间,单位ms
feature.runtimenotify.strategy.interval=60000
预警策略更新频率,单位ms
feature.runtimenotify.slice.config={"N":{"timerange":"600000","expire":"60000"},"M":{"timerange":"600000","expire":"60000"},"L":{"timerange":"600000","expire":"0"}}
预警信息分片数据保存时间长度以及过期时间