From 2caf8fbef7a20cc4e98975b40d21efc073195b77 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 6 Sep 2023 09:03:36 +0200 Subject: Add Micrometer [preferences] - add Micrometer dependencies - add build.gradle on project root since the Jenkins gradle plugin would otherwise fail Issue-ID: PORTALNG-58 Change-Id: Id3f986a8b98647139b52b397608e95eb94d30d6b Signed-off-by: Fiete Ostkamp --- app/src/main/resources/application.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/src') diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml index d7c6325..ffe174e 100644 --- a/app/src/main/resources/application.yml +++ b/app/src/main/resources/application.yml @@ -3,6 +3,8 @@ server: address: 0.0.0.0 spring: + application: + name: preferences jackson: serialization: # needed for serializing objects of type object @@ -36,3 +38,10 @@ management: enabled: true java: enabled: true + tracing: + enabled: true + sampling: + probability: 1.0 # sample every request + zipkin: + tracing: + endpoint: http://${COLLECTOR_HOST}:${COLLECTOR_PORT}/api/v2/spans \ No newline at end of file -- cgit 1.2.3-korg