This commit is contained in:
2024-01-23 17:44:17 +08:00
146 changed files with 8079 additions and 3503 deletions

View File

@@ -63,7 +63,15 @@
<artifactId>ik-analyzer</artifactId>
<version>8.2.0</version>
</dependency>
<!---->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!--支持中文分词 -->
<dependency>
<groupId>org.apache.lucene</groupId>

View File

@@ -44,7 +44,8 @@ spring:
reset-enable: false
filters:
DruidFilter,stat
# stat:
# query-timeout: 1
# stat:
# enabled: true
# # 记录慢SQL
# log-slow-sql: true
@@ -173,3 +174,20 @@ es:
lucene:
index:
path: D:\lms\lucene\index
management:
endpoints:
web:
exposure:
include: prometheus
base-path: /metrics
metrics:
prometheus:
enabled: true
enable:
process: false
integration: false
uptime: false
jdbc: false
system: false
jvm: false
logback: false