Przeglądaj źródła

expose all actuator endpoints

yassine 1 rok temu
rodzic
commit
2168f89309
2 zmienionych plików z 14 dodań i 2 usunięć
  1. 7
    1
      customer.yml
  2. 7
    1
      discovery.yml

+ 7
- 1
customer.yml Wyświetl plik

@@ -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 Wyświetl plik

@@ -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.