Pārlūkot izejas kodu

Only expose necessary actuator endpoints (#12571)

kezhenxu94 2 gadi atpakaļ
vecāks
revīzija
065d5caccc

+ 1 - 1
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml

@@ -45,7 +45,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true

+ 1 - 1
dolphinscheduler-api/src/main/resources/application.yaml

@@ -89,7 +89,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true

+ 1 - 1
dolphinscheduler-master/src/main/resources/application.yaml

@@ -123,7 +123,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true

+ 1 - 1
dolphinscheduler-standalone-server/src/main/resources/application.yaml

@@ -220,7 +220,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true

+ 1 - 1
dolphinscheduler-worker/src/main/resources/application.yaml

@@ -85,7 +85,7 @@ management:
   endpoints:
     web:
       exposure:
-        include: '*'
+        include: health,metrics,prometheus
   endpoint:
     health:
       enabled: true