From 4dc06d0e828494352e24a8e47cea1073de25953f Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Thu, 11 Apr 2019 15:27:07 +0000 Subject: 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 --- datafile-app-server/config/application.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'datafile-app-server/config') diff --git a/datafile-app-server/config/application.yaml b/datafile-app-server/config/application.yaml index 8985b9b8..504a6f3f 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: -- cgit 1.2.3-korg