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

Add trace ID injection into logs documentation #444

Open
willarmiros opened this issue Jan 9, 2023 · 0 comments
Open

Add trace ID injection into logs documentation #444

willarmiros opened this issue Jan 9, 2023 · 0 comments

Comments

@willarmiros
Copy link
Contributor

For each supported language, it would be great to have a section to document how to inject trace IDs into logs. I know this is straightforward w/ the ADOT Java Agent, but I'm less sure about its support in other languages. However even for the Java Agent, which does the heavy lifting of making trace IDs available to be injected to logs, customers still need to update their logging configuration to include trace IDs in log messages. This should be documented for easy customer discoverability, so that services like CloudWatch ServiceLens which use trace IDs to correlate logs can perform as expected.

Example of X-Ray docs for how to configure this:
https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-configuration.html#xray-sdk-java-configuration-logging

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

No branches or pull requests

1 participant