Skip to content

Conversation

@HollywoodTonight
Copy link
Contributor

  • Modify log-wrapper to prioritize context.traceId over X-Ray segment This ensures trace IDs from SQS messages are used for continuity
  • Add traceId to SCRAPE_CLIENT formatPayload for cross-worker propagation

This enables end-to-end tracing across multiple workers (e.g., audit-worker -> content-scraper -> audit-worker) by propagating the trace ID through SQS message payloads.

Please ensure your pull request adheres to the following guidelines:

  • make sure to link the related issues in this description
  • when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues

Thanks for contributing!

- Modify log-wrapper to prioritize context.traceId over X-Ray segment
  This ensures trace IDs from SQS messages are used for continuity
- Add traceId to SCRAPE_CLIENT formatPayload for cross-worker propagation
- Add comprehensive tests for traceId propagation scenarios
- Maintain 100% test coverage

This enables end-to-end tracing across multiple workers (e.g., audit-worker -> content-scraper -> audit-worker) by propagating the trace ID through SQS message payloads.
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.

3 participants