diff --git a/lms/nladmin-system/pom.xml b/lms/nladmin-system/pom.xml
index d15ce7903..15ca595b0 100644
--- a/lms/nladmin-system/pom.xml
+++ b/lms/nladmin-system/pom.xml
@@ -63,7 +63,15 @@
ik-analyzer
8.2.0
-
+
+
+ io.micrometer
+ micrometer-registry-prometheus
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
org.apache.lucene
diff --git a/lms/nladmin-system/src/main/resources/config/application-dev.yml b/lms/nladmin-system/src/main/resources/config/application-dev.yml
index f2b4be975..8e72c8c4b 100644
--- a/lms/nladmin-system/src/main/resources/config/application-dev.yml
+++ b/lms/nladmin-system/src/main/resources/config/application-dev.yml
@@ -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