Przeglądaj źródła

监控配置初始化调试

rengb 4 lat temu
rodzic
commit
48ecf60277
1 zmienionych plików z 10 dodań i 1 usunięć
  1. 10 1
      config-center/src/main/resources/bootstrap.yml

+ 10 - 1
config-center/src/main/resources/bootstrap.yml

@@ -19,4 +19,13 @@ server:
 eureka:
   client:
     service-url:
-      defaultZone: http://localhost:6751/eureka/
+      defaultZone: http://localhost:6751/eureka/
+
+management:
+  endpoints:
+    web:
+      exposure:
+        include: '*'
+  endpoint:
+    health:
+      show-details: always