日志服务
配置文件hm_pro(test)_logserver.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=\u65E5\u5FD7\u6570\u636E\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=10130
节点控制服务端口
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配置
HealthManager 日志服务Feature
feature.newlogservice.loader=com.creditease.uav.invokechain.jar
日志服务主jar,用于classloader隔离
feature.newlogservice.enable=true
启用日志服务feature
feature.newlogservice.components=com.creditease.uav.healthmanager.newlog.HMNewLogService
日志服务feature主类
feature.newlogservice.properties=
日志服务feature属性配置,for example: key1=value1,key2=value2,...
feature.newlogservice.to.runtimentf=true
启用日志运行时预警
rocketMQ配置
feature.newlogservice.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
rocketmq NameServer地址
feature.newlogservice.MT_Log.consumethreadmax=10
日志数据信息消费最大线程数
feature.newlogservice.MT_Log.consumestopinterval=0
日志数据信息消费间隔时间,单位ms
feature.newlogservice.MT_Log.enable=true
是否日志数据信息
elastic-search配置
feature.newlogservice.es.addr=127.0.0.1:9300,127.0.0.1:9300,127.0.0.1:9300,127.0.0.1:9300
ES地址
feature.newlogservice.es.clustername=edp-es
ES集群名称
feature.newlogservice.es.query.timeout=5000
日志查询请求超时时间,单位ms
query http service日志查询服务
feature.newlogservice.http.enable=true
开启日志查询服务
feature.newlogservice.http.port=7899
日志查询服务端口
feature.newlogservice.http.core=50
日志服务核心线程数
feature.newlogservice.http.max=300
日志服务最大线程数
feature.newlogservice.http.backlog=10
日志服务连接队列长度
feature.newlogservice.http.bqsize=10
日志服务队列长度
feature.newlogservice.qhandlers=com.creditease.uav.healthmanager.newlog.http.NewLogQueryHandler
日志查询服务处理类