aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/resources/application.yml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-09-06 08:32:33 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-09-11 10:29:53 +0200
commitc3c2eec967891108459c45786f8e98a85004e678 (patch)
tree2d79ce5e08658f05d054367693a905813dd80172 /app/src/main/resources/application.yml
parent1a23a1bcdf17ba4cf1cafb8e65babd1ad8666e59 (diff)
Add Micrometer [bff]montreal
- add Micrometer dependencies - uses Zipkin as trace protocol, typically for port 9411 - requires changing dependency injection of WebClient.Builder [1] [1] Micrometer is injecting the trace context into the WebClient.Builder bean. To add the ExchangeFilterFunctions for authentication, errorhandling and logging, the existing bean needs to be modified instead of statically creating a new one Issue-ID: PORTALNG-57 Change-Id: I13dd18d297cd56fa2dfbb525723c79f4abb41f87 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/main/resources/application.yml')
-rw-r--r--app/src/main/resources/application.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml
index 0bbd9e2..87493a0 100644
--- a/app/src/main/resources/application.yml
+++ b/app/src/main/resources/application.yml
@@ -13,6 +13,13 @@ management:
web:
exposure:
include: "*"
+ tracing:
+ enabled: true
+ sampling:
+ probability: 1.0 # sample every request
+ zipkin:
+ tracing:
+ endpoint: http://${COLLECTOR_HOST}:${COLLECTOR_PORT}/api/v2/spans
spring:
application: