getsentry / getsentry/sentry-javascript

Cloudflare instrument dispatcher

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

Description

### Problem Statement

Docs: https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/get-started/

When using a dispatcher probably no tracing is enabled.

### Solution Brainstorm

Best would be to only allow trace propagation and instrument the `Fetcher` which gets returned by the fetcher (https://github.com/getsentry/sentry-javascript/blob/53c98be7f3b1df49806210eaa5c2750cd2d2b6f9/packages/cloudflare/src/instrumentations/worker/instrumentFetcher.ts)

### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.