mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
开启应用监控
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 项目相关配置
|
||||
jsowell:
|
||||
# 名称
|
||||
name: jsowell-service
|
||||
name: wcc-service
|
||||
# 版本
|
||||
version: 1.0.0
|
||||
# 版权年份
|
||||
@@ -51,6 +51,8 @@ user:
|
||||
|
||||
# Spring配置
|
||||
spring:
|
||||
application:
|
||||
name: jsowell-charger-web
|
||||
# 资源信息
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
@@ -71,6 +73,21 @@ spring:
|
||||
# 热部署开关
|
||||
enabled: true
|
||||
|
||||
# 监控配置
|
||||
management:
|
||||
server:
|
||||
port: 8091
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
metrics:
|
||||
tags:
|
||||
application: ${spring.application.name}
|
||||
export:
|
||||
prometheus:
|
||||
enabled: true
|
||||
|
||||
# MyBatis配置
|
||||
mybatis:
|
||||
# 搜索指定包别名
|
||||
|
||||
Reference in New Issue
Block a user