Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user