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

Include requestId in Apollo server logs #190

Open
briri opened this issue Jan 31, 2025 · 0 comments
Open

Include requestId in Apollo server logs #190

briri opened this issue Jan 31, 2025 · 0 comments
Assignees

Comments

@briri
Copy link
Collaborator

briri commented Jan 31, 2025

After setting up the OpenSearch logs for the current DMP Tool, I realized we are going to want to add a requestId to the logs so that we can easily track activity of a request.

Need to add a Request Id to the Apollo context and then include it in the formatLogMessage function.

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