新增监控开关参数 服务器监控 state.server 缓存监控 state.cache 数据监控 state.druid

This commit is contained in:
thinkgem
2024-09-23 13:32:45 +08:00
parent edce962f2c
commit 509ab88fee
2 changed files with 7 additions and 1 deletions

View File

@@ -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 {
/**

View File

@@ -340,6 +340,12 @@ gen:
# 系统监控
state:
enabled: true
# 服务器监控
server: true
# 缓存监控
cache: true
# 数据监控
druid: true
#======================================#
#========= Framework settings =========#