Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grab TransactionId or CorrelationId from header to use as correlationId #1166

Closed
JonathanAaron opened this issue Sep 21, 2021 · 1 comment
Closed
Labels

Comments

@JonathanAaron
Copy link

I want to be able to use a id from the request header or parameter as the correlationId/transactionId for the application

Detailed Description

When requests come into logbook. I need the ability to take a header value and use it as the correlation id for logbook

Context

I'm able to use an id across applications to trace errors or requests. Currently I'm able to do this via MDC, but It would be nice if my Logbook logs had the same id.

Your Environment

  • Version used: 2.7.0
  • Link to your project: private enterprise repo, can't share it, sorry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants