rev:添加Tlog与动态线程池监控,去掉前端多余文件

This commit is contained in:
ludj
2024-07-24 13:29:53 +08:00
parent df7b9438e5
commit a450b276c7
38 changed files with 103 additions and 69 deletions

View File

@@ -1,14 +1,34 @@
server:
tomcat:
relaxed-query-chars: [ '|','{','}','[',']' ] #字符问题https://blog.csdn.net/CanYue_Yi/article/details/109182577
relaxed-path-chars: [ '|','{','}','[',']' ] #字符问题: https://blog.csdn.net/weixin_41996632/article/details/90715118
spring:
freemarker:
check-template-location: false
profiles:
active: prod
active: dev
jackson:
time-zone: GMT+8
data:
redis:
repositories:
enabled: false
dynamic:
tp:
enabled: true # 是否启用 dynamictp默认true
enabledBanner: false # 是否启用 控制台banner默认true
enabledCollect: true # 是否开启监控指标采集默认true
collectorTypes: logging # 监控数据采集器类型logging | micrometer | internal_logging默认micrometer
logPath: d:\log\lms # 监控日志数据路径,默认 ${user.home}/logs采集类型非logging不用配置
monitorInterval: 8
tomcatTp: # tomcat webserver 线程池配置
threadPoolAliasName: tomcat 线程池 # 线程池别名,可选
corePoolSize: 12
tryInterrupt: true
maximumPoolSize: 50
keepAliveTime: 60
runTimeout: 10000
queueTimeout: 100
#配置 Jpa
jpa:
@@ -93,3 +113,5 @@ mybatis-plus:
lucene:
index:
path: D:\lucene\index
tlog:
enable-invoke-time-print: true