Enabling Spring boot actuator
This makes it possible by a REST API:
- change logging levels
- get the application log
- get build info for the DFC
- get various metrixes for the execution
such as heap consumption, number of threads etc.
Change-Id: I570bc0db6a9b9977ecfd83389b463fe652e4ba16
Issue-ID: DCAEGEN2-1428
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
diff --git a/datafile-app-server/config/application.yaml b/datafile-app-server/config/application.yaml
index 8985b9b..504a6f3 100644
--- a/datafile-app-server/config/application.yaml
+++ b/datafile-app-server/config/application.yaml
@@ -1,6 +1,11 @@
spring:
profiles:
active: prod
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "loggers,logfile,health,info,metrics"
server:
port: 8433
ssl: