瀏覽代碼

expose all actuator endpoints

yassine 1 年之前
父節點
當前提交
2168f89309
共有 2 個檔案被更改,包括 14 行新增2 行删除
  1. 7
    1
      customer.yml
  2. 7
    1
      discovery.yml

+ 7
- 1
customer.yml 查看文件

@@ -23,4 +23,10 @@ spring:
23 23
     producer:
24 24
       boostrap-servers: 9092
25 25
       key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
26
-      value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
26
+      value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
27
+
28
+management:
29
+  endpoints:
30
+    web:
31
+      exposure:
32
+        include: "*"

+ 7
- 1
discovery.yml 查看文件

@@ -3,4 +3,10 @@ server:
3 3
 eureka:
4 4
   client:
5 5
     register-with-eureka: false
6
-    fetch-registry: false
6
+    fetch-registry: false
7
+
8
+management:
9
+  endpoints:
10
+    web:
11
+      exposure:
12
+        include: "*"

Powered by TurnKey Linux.