Explorar o código

监控配置初始化调试

rengb %!s(int64=4) %!d(string=hai) anos
pai
achega
48ecf60277
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  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