Kaynağa Gözat

显示指定监控URL

gaodm 6 yıl önce
ebeveyn
işleme
2fe63e36cc

+ 2 - 2
config-server/src/main/resources/shared/application-dev.yml

@@ -37,13 +37,13 @@ management:
   endpoints:
     web:
       exposure:
-        include: "*"
+        include: refresh,health,info
       cors:
         allowed-origins: "*"
         allowed-methods: "*"
   endpoint:
       health:
-        show-details: ALWAYS
+        show-details: always
 feign:
   hystrix:
     enabled: true

+ 2 - 2
config-server/src/main/resources/shared/application-local.yml

@@ -37,13 +37,13 @@ management:
   endpoints:
     web:
       exposure:
-        include: "*"
+        include: refresh,health,info
       cors:
         allowed-origins: "*"
         allowed-methods: "*"
   endpoint:
       health:
-        show-details: ALWAYS
+        show-details: always
 feign:
   hystrix:
     enabled: true