- 后端:引入下 Metrics 相关的包

This commit is contained in:
YunaiV 2019-05-20 20:36:18 +08:00
parent 849c814c2c
commit 1aa630e3c3
4 changed files with 34 additions and 0 deletions

View File

@ -18,3 +18,11 @@ server:
swagger:
enable: false
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true

View File

@ -18,3 +18,11 @@ server:
swagger:
enable: false
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true

View File

@ -18,3 +18,12 @@ server:
swagger:
enable: false
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true

View File

@ -18,3 +18,12 @@ server:
swagger:
enable: false
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true