Browse Source

add datasource health check to the healthcheck endpoint (#10588)

(cherry picked from commit 1111371c9a)
3.0.0/version-upgrade
xiangzihao 2 years ago committed by Jiajie Zhong
parent
commit
5e129d478e
  1. 9
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
  2. 9
      dolphinscheduler-api/src/main/resources/application.yaml
  3. 9
      dolphinscheduler-master/src/main/resources/application.yaml
  4. 9
      dolphinscheduler-standalone-server/src/main/resources/application.yaml
  5. 9
      dolphinscheduler-worker/src/main/resources/application.yaml

9
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml

@ -48,6 +48,15 @@ management:
web: web:
exposure: exposure:
include: '*' include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics: metrics:
tags: tags:
application: ${spring.application.name} application: ${spring.application.name}

9
dolphinscheduler-api/src/main/resources/application.yaml

@ -84,6 +84,15 @@ management:
web: web:
exposure: exposure:
include: '*' include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics: metrics:
tags: tags:
application: ${spring.application.name} application: ${spring.application.name}

9
dolphinscheduler-master/src/main/resources/application.yaml

@ -122,6 +122,15 @@ management:
web: web:
exposure: exposure:
include: '*' include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics: metrics:
tags: tags:
application: ${spring.application.name} application: ${spring.application.name}

9
dolphinscheduler-standalone-server/src/main/resources/application.yaml

@ -199,6 +199,15 @@ management:
web: web:
exposure: exposure:
include: '*' include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics: metrics:
tags: tags:
application: ${spring.application.name} application: ${spring.application.name}

9
dolphinscheduler-worker/src/main/resources/application.yaml

@ -85,6 +85,15 @@ management:
web: web:
exposure: exposure:
include: '*' include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics: metrics:
tags: tags:
application: ${spring.application.name} application: ${spring.application.name}

Loading…
Cancel
Save