|
@@ -47,18 +47,18 @@ spring.shardingsphere.datasource.master.test-on-return=false
|
|
spring.shardingsphere.datasource.master.test-while-idle=true
|
|
spring.shardingsphere.datasource.master.test-while-idle=true
|
|
spring.shardingsphere.datasource.master.time-between-eviction-runs-millis=180000
|
|
spring.shardingsphere.datasource.master.time-between-eviction-runs-millis=180000
|
|
spring.shardingsphere.datasource.master.min-evictable-idle-time-millis=300000
|
|
spring.shardingsphere.datasource.master.min-evictable-idle-time-millis=300000
|
|
-spring.shardingsphere.datasource.master.filters=config,wall,stat
|
|
|
|
-spring.shardingsphere.datasource.master.connectionProperties=druid.stat.slowSqlMillis=1000;druid.stat.logSlowSql=true;config.decrypt=false
|
|
|
|
-spring.shardingsphere.datasource.master.web-stat-filter.enabled=true
|
|
|
|
-spring.shardingsphere.datasource.master.web-stat-filter.url-pattern=/*
|
|
|
|
-spring.shardingsphere.datasource.master.web-stat-filter.exclusions=/druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
|
|
|
|
-spring.shardingsphere.datasource.master.web-stat-filter.session-stat-enable=true
|
|
|
|
-spring.shardingsphere.datasource.master.web-stat-filter.session-stat-max-count=10
|
|
|
|
-spring.shardingsphere.datasource.master.stat-view-servlet.enabled=true
|
|
|
|
-spring.shardingsphere.datasource.master.stat-view-servlet.url-pattern=/druid/*
|
|
|
|
-spring.shardingsphere.datasource.master.stat-view-servlet.reset-enable=true
|
|
|
|
-spring.shardingsphere.datasource.master.stat-view-servlet.login-username=admin
|
|
|
|
-spring.shardingsphere.datasource.master.stat-view-servlet.login-password=Qmth2020
|
|
|
|
|
|
+spring.shardingsphere.datasource.master.filters=stat
|
|
|
|
+spring.shardingsphere.datasource.master.connectionProperties=druid.stat.slowSqlMillis=2000;druid.stat.logSlowSql=true;druid.stat.mergeSql=true;druid.stat.slowSqlLogLevel=warn
|
|
|
|
+#spring.shardingsphere.datasource.master.web-stat-filter.enabled=true
|
|
|
|
+#spring.shardingsphere.datasource.master.web-stat-filter.url-pattern=/*
|
|
|
|
+#spring.shardingsphere.datasource.master.web-stat-filter.exclusions=/druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
|
|
|
|
+#spring.shardingsphere.datasource.master.web-stat-filter.session-stat-enable=true
|
|
|
|
+#spring.shardingsphere.datasource.master.web-stat-filter.session-stat-max-count=10
|
|
|
|
+#spring.shardingsphere.datasource.master.stat-view-servlet.enabled=true
|
|
|
|
+#spring.shardingsphere.datasource.master.stat-view-servlet.url-pattern=/druid/*
|
|
|
|
+#spring.shardingsphere.datasource.master.stat-view-servlet.reset-enable=true
|
|
|
|
+#spring.shardingsphere.datasource.master.stat-view-servlet.login-username=admin
|
|
|
|
+#spring.shardingsphere.datasource.master.stat-view-servlet.login-password=Qmth2020
|
|
#
|
|
#
|
|
# ********** db redis config **********
|
|
# ********** db redis config **********
|
|
#
|
|
#
|