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

Added datadog logging context for trace correlation #7

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

timetinytim
Copy link

Added additional logging flags to make sure datadog can connect the logs and traces. Tested locally, logs now contain the dd.span_id and dd.trace_id attributes. Slightly enhanced from the FCM implementation in that the contextualized logger is passed to the workers. Seems to work locally for me, and if it works in production, will update the FCM relay like this as well.

@timetinytim timetinytim requested a review from renchap September 18, 2024 13:16
@timetinytim timetinytim self-assigned this Sep 18, 2024
@renchap renchap merged commit 4673829 into master Sep 18, 2024
1 check passed
@timetinytim timetinytim deleted the log-context branch September 18, 2024 13:47
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

Successfully merging this pull request may close these issues.

2 participants