update 优化 更新easy-retry-server无法监控解决方案
parent
e91f02d23a
commit
123bb92fed
|
|
@ -28,9 +28,6 @@ logging:
|
||||||
config: classpath:logback-plus.xml
|
config: classpath:logback-plus.xml
|
||||||
|
|
||||||
management:
|
management:
|
||||||
# 解决 er 服务有 context-path 无法监控问题
|
|
||||||
server:
|
|
||||||
port: 8801
|
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
|
|
@ -51,6 +48,9 @@ spring:
|
||||||
# 注册组
|
# 注册组
|
||||||
group: @nacos.discovery.group@
|
group: @nacos.discovery.group@
|
||||||
namespace: ${spring.profiles.active}
|
namespace: ${spring.profiles.active}
|
||||||
|
metadata:
|
||||||
|
# 解决 er 服务有 context-path 无法监控问题
|
||||||
|
management.context-path: ${server.servlet.context-path}/actuator
|
||||||
config:
|
config:
|
||||||
# 配置组
|
# 配置组
|
||||||
group: @nacos.config.group@
|
group: @nacos.config.group@
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue