clay commit : ci/cd相关软件安装
continuous-integration/drone/push Build is passing Details

This commit is contained in:
clay 2022-11-10 19:37:28 +08:00
parent ff7cef6835
commit eee3ad9298
1 changed files with 9 additions and 3 deletions

View File

@ -83,13 +83,19 @@ spring:
management: management:
endpoints: endpoints:
web: web:
# 设置是否暴露端点 默认只有health和info可见
exposure: exposure:
include: "*" # include: env # 方式1: 暴露端点env配置多个以,隔开
include: "*" # 方式2: 包括所有端点,注意需要添加引号
# 排除端点
exclude: shutdown
server: server:
port: 9595 # 服务端口,在使用k8s的情况下,每一个服务都是在单独的一个docker中,所以他们的端口是不会发生冲突的 port: 9595 # 开监控端口,不和应用用同一个端口, 服务端口,在使用k8s的情况下,每一个服务都是在单独的一个docker中,所以他们的端口是不会发生冲突的
endpoint: endpoint:
health: health:
show-details: ALWAYS show-details: always # 显示db、redis、rabbti连接情况等
shutdown:
enabled: true #默认情况下除shutdown以外的所有端点均已启用。手动开启
``` ```
## 效果图 ## 效果图