You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2022/11/07 11:54:59 UTC

[dolphinscheduler] branch 3.0.2-prepare updated: Only expose necessary actuator endpoints (#12571) (#12794)

This is an automated email from the ASF dual-hosted git repository.

chufenggao pushed a commit to branch 3.0.2-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.0.2-prepare by this push:
     new f2cec3e259 Only expose necessary actuator endpoints (#12571) (#12794)
f2cec3e259 is described below

commit f2cec3e2593ae5b54dcd7aa992081b84b4b4663a
Author: Eric Gao <er...@gmail.com>
AuthorDate: Mon Nov 7 19:54:53 2022 +0800

    Only expose necessary actuator endpoints (#12571) (#12794)
    
    Co-authored-by: kezhenxu94 <ke...@apache.org>
---
 .../dolphinscheduler-alert-server/src/main/resources/application.yaml   | 2 +-
 dolphinscheduler-api/src/main/resources/application.yaml                | 2 +-
 dolphinscheduler-master/src/main/resources/application.yaml             | 2 +-
 dolphinscheduler-standalone-server/src/main/resources/application.yaml  | 2 +-
 dolphinscheduler-worker/src/main/resources/application.yaml             | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

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 40cb4c7ce5..68bc99ce6c 100644
--- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
@@ -47,7 +47,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true
diff --git a/dolphinscheduler-api/src/main/resources/application.yaml b/dolphinscheduler-api/src/main/resources/application.yaml
index d59b42a791..3a96ff0ffa 100644
--- a/dolphinscheduler-api/src/main/resources/application.yaml
+++ b/dolphinscheduler-api/src/main/resources/application.yaml
@@ -83,7 +83,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true
diff --git a/dolphinscheduler-master/src/main/resources/application.yaml b/dolphinscheduler-master/src/main/resources/application.yaml
index 14b98a0fe8..8e1dac36a8 100644
--- a/dolphinscheduler-master/src/main/resources/application.yaml
+++ b/dolphinscheduler-master/src/main/resources/application.yaml
@@ -122,7 +122,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true
diff --git a/dolphinscheduler-standalone-server/src/main/resources/application.yaml b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
index 3b581a9b7a..f3a7726899 100644
--- a/dolphinscheduler-standalone-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
@@ -213,7 +213,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true
diff --git a/dolphinscheduler-worker/src/main/resources/application.yaml b/dolphinscheduler-worker/src/main/resources/application.yaml
index ee4a56fbc9..717da5412f 100644
--- a/dolphinscheduler-worker/src/main/resources/application.yaml
+++ b/dolphinscheduler-worker/src/main/resources/application.yaml
@@ -88,7 +88,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true