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