From 71322adbc15045c62537b2c590d0b24758634ecf Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 6 Sep 2023 08:57:14 +0200 Subject: Add Micrometer [history] - add Micrometer dependency - add build.gradle on the project root level since the Jenkins gradle plugin is failing otherwise Issue-ID: PORTALNG-59 Change-Id: I7342b7be38ab6620f5d216006e34b7b60333d740 Signed-off-by: Fiete Ostkamp --- app/src/main/resources/application.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/src/main/resources/application.yml') diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml index 13c8716..8d3ccde 100644 --- a/app/src/main/resources/application.yml +++ b/app/src/main/resources/application.yml @@ -40,3 +40,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