diff --git a/skywalking-alarm/src/main/resources/config.properties b/skywalking-alarm/src/main/resources/config.properties index 4bd1e299e..1f7d18185 100644 --- a/skywalking-alarm/src/main/resources/config.properties +++ b/skywalking-alarm/src/main/resources/config.properties @@ -1,68 +1,64 @@ -#告警处理线程数 +# 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