diff options
author | 2023-12-12 11:49:43 +0100 | |
---|---|---|
committer | 2023-12-12 11:52:17 +0100 | |
commit | 79322e1eaabd39210dc855ca1e78f734c1790fc4 (patch) | |
tree | 0adb15ff4dd898fdb06791c0d8e319b1842b08d1 /app/src/main/resources | |
parent | 71322adbc15045c62537b2c590d0b24758634ecf (diff) |
Enrich log messages with further metadata about requests
This includes:
- endpoint
- execution time
- trace id
Issue-ID: PORTALNG-69
Change-Id: I5d07c89313811875bff8c1c519464e53381b5db1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/main/resources')
-rw-r--r-- | app/src/main/resources/application.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml index 8d3ccde..15e8422 100644 --- a/app/src/main/resources/application.yml +++ b/app/src/main/resources/application.yml @@ -46,4 +46,10 @@ management: probability: 1.0 # sample every request zipkin: tracing: - endpoint: http://${COLLECTOR_HOST}:${COLLECTOR_PORT}/api/v2/spans
\ No newline at end of file + endpoint: http://${COLLECTOR_HOST}:${COLLECTOR_PORT}/api/v2/spans + +logger: + traceIdHeaderName: "X-Request-Id" + enabled: true + excludePaths: + - "/actuator/**"
\ No newline at end of file |