getsentry / getsentry/sentry-javascript

Cloudflare Queue context propagation and trace links

Open
#22,309 1 comment 0 reactions 0 assignees View on GitHub
Cloudflare Workers Feature Traces
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Problem Statement

Right now Cloudflare Queues don't have context propagation and no trace link to each other.

Original request: https://github.com/getsentry/sentry-javascript/issues/22298#issuecomment-4983223603

### Solution Brainstorm

Maybe we could do the same as we do for trace propagation in RPC calls between workers.

### Additional Context

_No response_

### Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing trace propagation for RPC calls between workers and how Cloudflare Queues are represented in the SDK. Determine the required context propagation and trace-link behavior, then verify that queue-related traces connect as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
distributed-systems, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.