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

Applying the Correlation ID pattern #749

Open
loinguyen-nt opened this issue Nov 1, 2023 · 0 comments
Open

Applying the Correlation ID pattern #749

loinguyen-nt opened this issue Nov 1, 2023 · 0 comments

Comments

@loinguyen-nt
Copy link
Contributor

Context & Problem

In the MSA, distributed tracing is a very important part of observability, and the trace ID is often generated by the observability tools. In some cases, we want to correlate the request through the microservices, including API calls or messaging. So that the stakeholder can use it to trace the business flow.

Correlation ID pattern approaches

  1. We can use trace ID as a correlation ID.
  2. We can separately use trace ID and correlation ID.
    To simplify, we can go with the first option.

Goals

Make the correlation ID available the request, response, message header, log, tracing, etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant