feat: propagate traceId across workers for cross-worker tracing#1247
Merged
HollywoodTonight merged 2 commits intomainfrom Jan 8, 2026
Merged
feat: propagate traceId across workers for cross-worker tracing#1247HollywoodTonight merged 2 commits intomainfrom
HollywoodTonight merged 2 commits intomainfrom
Conversation
- 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.
iuliag
approved these changes
Dec 15, 2025
|
This PR will trigger a minor release when merged. |
solaris007
pushed a commit
that referenced
this pull request
Jan 8, 2026
# [@adobe/spacecat-shared-data-access-v2.93.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.92.1...@adobe/spacecat-shared-data-access-v2.93.0) (2026-01-08) ### Features * propagate traceId across workers for cross-worker tracing ([#1247](#1247)) ([f7d194d](f7d194d))
Member
|
🎉 This PR is included in version @adobe/spacecat-shared-data-access-v2.93.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
solaris007
pushed a commit
that referenced
this pull request
Jan 8, 2026
# [@adobe/spacecat-shared-utils-v1.87.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.86.0...@adobe/spacecat-shared-utils-v1.87.0) (2026-01-08) ### Features * propagate traceId across workers for cross-worker tracing ([#1247](#1247)) ([f7d194d](f7d194d))
Member
|
🎉 This PR is included in version @adobe/spacecat-shared-utils-v1.87.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Related Issues
Thanks for contributing!