Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
3cb51b5e
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
3cb51b5e
编写于
1月 16, 2017
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change commonts to English and remove useless configs. Close #74
上级
c9e90187
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
31 addition
and
35 deletion
+31
-35
skywalking-alarm/src/main/resources/config.properties
skywalking-alarm/src/main/resources/config.properties
+31
-35
未找到文件。
skywalking-alarm/src/main/resources/config.properties
浏览文件 @
3cb51b5e
#
告警处理线程数
#
The work thread num.
server.process_thread_size
=
2
#
守护线程等待周期
#
The interval of daemon thread check.
server.daemon_thread_wait_interval
=
50000
#
告警规则生效周期
#
The expired time of alarm rule caches
server.alarm_rule_activity_interval
=
3600000
#
处理线程等待周期
#
The interval of work threads work.
processthread.thread_wait_interval
=
5000
#zookeeper
连接地址
#zookeeper
connect url
zkpath.connect_str
=
127.0.0.1:2181
#zookeeper
连接超时时间(单位:毫秒
)
#zookeeper
connect timeout(ms
)
zkpath.connect_timeout
=
1000
#zookeeper
重试次数
#zookeeper
re-connect times
zkpath.retry_times
=
3
#zookeeper
重试超时时间(单位:毫秒
)
#zookeeper
re-connect timeout(ms
)
zkpath.retry_timeout
=
1000
#
告警规则的path前缀
#
zookeeper prefix path of store alarm rules
zkpath.node_prefix
=
/skywalking
#
告警服务的处理线程注册地址
#
zookeeper path of register servers
zkpath.register_server_path
=
/skywalking/alarm-server/register-servers
#
告警服务的协调器的竞争锁地址
#
zookeeper path of coordinator
zkpath.coordinator_path
=
/skywalking/alarm-server/coordinator/lock
#
尝试成为协调器的竞争锁周期(单位:秒
)
#
The interval of coordinator acquire lock. (s
)
coordinator.retry_get_coordinator_lock_interval
=
5
#
尝试成为协调器的等待时间(单位:毫秒
)
#
The timeout of coordinator acquire lock. (ms
)
coordinator.retry_become_coordinator_wait_time
=
10000
#
检查是否需要重新分配的周期(单位:毫秒
)
#
The interval of coordinator checks redistribute. (ms
)
coordinator.check_redistribute_interval
=
5000
#
检查所有处理线程的周期(单位:毫秒
)
#
The interval of coordinator checks all process threads status. (ms
)
coordinator.check_all_process_thread_interval
=
500
#
数据库驱动类
#
database driver
db.driver_class
=
com.mysql.jdbc.Driver
#
数据库连接地址
#
database connect url
db.url
=
jdbc:mysql://localhost:3306/test
#
数据库用户名
#
database username
db.user_name
=
root
#
数据库密码
#
database password
db.password
=
root
#
数据库连接最大空闲数
#
database connection pool max idle.
db.max_idle
=
1
#
数据库最大连接数
#
database connection pool max size.
db.max_pool_size
=
20
#
数据连接超时时间
#
timeout of database connection.
db.connect_timeout
=
10000
#
告警信息存在的redis服务器地址
#
redis addr
alarm.redis_server
=
127.0.0.1:6379
#redis
的最大空闲连接数
#redis
client pool max idle.
alarm.redis_max_idle
=
20
#redis
的最小空闲连接数
#redis
client pool min idle.
alarm.redis_min_idle
=
1
#redis
最大连接数
#redis
client pool max size.
alarm.redis_max_total
=
50
#
是否关闭告警发送
#
switch of alarm.
alarm.alarm_off_flag
=
false
alarm.checker.turn_on_exception_checker
=
true
#告警检查器:执行时间超时告警检查
alarm.checker.turn_on_execute_time_checker
=
true
#邮件发送配置id
#mai info
mailsenderinfo.mail_host
=
smtp.qq.com
mailsenderinfo.transport_protocol
=
smtp
mailsenderinfo.smtp_auth
=
true
...
...
@@ -71,11 +67,11 @@ mailsenderinfo.username=skywalking
mailsenderinfo.password
=
skywalking
mailsenderinfo.sender
=
skywalking@foxmail.com
mailsenderinfo.ssl_enable
=
true
#
邮件模板配置id
#
the url of sky-walking webui.
templateinfo.portal_url
=
http://127.0.0.1:8080/skywalking
#
尝试获取轮询锁的周期(单位:毫秒
)
#
The interval of re-get inspect lock. (ms
)
inspectthread.retry_get_inspect_lock_interval
=
10000
#
尝试检查用户列表的周期(单位:毫秒
)
#
The interval of checking users. (ms
)
inspectthread.check_user_list_interval
=
300000
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录