新增监控开关参数 服务器监控 state.server 缓存监控 state.cache 数据监控 state.druid
This commit is contained in:
@@ -25,7 +25,7 @@ import java.io.IOException;
|
||||
* @version 2017年11月30日
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(name="state.enabled", havingValue="true", matchIfMissing=true)
|
||||
@ConditionalOnProperty(name={"state.enabled","state.druid"}, havingValue="true", matchIfMissing=true)
|
||||
public class DruidStatConfig {
|
||||
|
||||
/**
|
||||
|
||||
@@ -340,6 +340,12 @@ gen:
|
||||
# 系统监控
|
||||
state:
|
||||
enabled: true
|
||||
# 服务器监控
|
||||
server: true
|
||||
# 缓存监控
|
||||
cache: true
|
||||
# 数据监控
|
||||
druid: true
|
||||
|
||||
#======================================#
|
||||
#========= Framework settings =========#
|
||||
|
||||
Reference in New Issue
Block a user