Browse Source

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

3.1.0-release
xiangzihao 2 years ago committed by GitHub
parent
commit
1111371c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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:
exposure:
include: '*'
endpoint:
health:
enabled: true
show-details: always
health:
db:
enabled: true
defaults:
enabled: false
metrics:
tags:
application: ${spring.application.name}

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

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

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

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

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

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

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

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

Loading…
Cancel
Save