-
Notifications
You must be signed in to change notification settings - Fork 230
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
Improve logging by adding the W3C traceparent
header as MDC field to logs
#1739
Milestone
Comments
thjaeckle
added a commit
that referenced
this issue
Sep 8, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields
thjaeckle
added a commit
that referenced
this issue
Sep 8, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields
thjaeckle
added a commit
that referenced
this issue
Sep 8, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 11, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 11, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 11, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 11, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 12, 2023
…ent-span-id" Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 18, 2023
* generify the fields to provide to the MDC in CommonMdcEntryKey enum * rename "x-correlation-id" in logs to just "correlation-id" * exchange some places where only correlationId was extracted from a map of headers with parsing all the headers for MDC worthy fields Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 18, 2023
…ent-span-id" Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 19, 2023
… chart Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 19, 2023
Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle
added a commit
that referenced
this issue
Sep 19, 2023
#1739 provide the traceparent header as MDC value in logs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, only the "correlation-id" is logged to the MDC for each log-statement in Ditto.
When having tracing activated, it would be very useful to also provide the traceparent, as defined by the W3C TraceContext, as an MDC field.
The text was updated successfully, but these errors were encountered: