feat: 接入 Prometheus 监控(放行 /actuator/prometheus + 指标暴露 + compose 编排)
This commit is contained in:
1 parent
42dd68f266
commit
32710c2e06
5 files changed
+70
-2
No files matched your search
@@ -66,3 +66,15 @@ springdoc:
|
||||
logging:
|
||||
level:
|
||||
com.fruitshorts: debug
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: prometheus,health
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
metrics:
|
||||
tags:
|
||||
application: ${spring.application.name}
|
||||
Reference in new issue
Block a user