diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml index 24f14b7a3c..dd6d55c7d3 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml +++ b/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} diff --git a/dolphinscheduler-api/src/main/resources/application.yaml b/dolphinscheduler-api/src/main/resources/application.yaml index c169416c50..642b7acbbc 100644 --- a/dolphinscheduler-api/src/main/resources/application.yaml +++ b/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} diff --git a/dolphinscheduler-master/src/main/resources/application.yaml b/dolphinscheduler-master/src/main/resources/application.yaml index a6c70f9871..619322bfab 100644 --- a/dolphinscheduler-master/src/main/resources/application.yaml +++ b/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} diff --git a/dolphinscheduler-standalone-server/src/main/resources/application.yaml b/dolphinscheduler-standalone-server/src/main/resources/application.yaml index 3694656ad5..94f4e074e2 100644 --- a/dolphinscheduler-standalone-server/src/main/resources/application.yaml +++ b/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} diff --git a/dolphinscheduler-worker/src/main/resources/application.yaml b/dolphinscheduler-worker/src/main/resources/application.yaml index 93082fd661..d903e1cd1f 100644 --- a/dolphinscheduler-worker/src/main/resources/application.yaml +++ b/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}