getsentry / getsentry/sentry-javascript

cloudflare: No `tail_stream` or `trace` handler support

Offen
#24,038 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Cloudflare Workers Feature javascript
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
523

Beschreibung

`withSentry` covers `fetch`, `scheduled`, `email`, `queue` and `tail`. `ExportedHandler` also allows `trace` (the older tail alias) and `tailStream` (streaming tail workers).

**Work item.** Confirm which of the two are still current in workerd, then add the missing wrapper(s) alongside `instrumentTail`.

**Prior art **getsentry/sentry-javascript#16233 added the `email`, `queue` and `tail` handlers and is the pattern to follow.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the Cloudflare implementation of withSentry and the existing instrumentTail wrapper, then compare ExportedHandler with current workerd support for trace and tailStream. Follow the pattern from getsentry/sentry-javascript#16233 and verify that the supported missing handlers are wrapped alongside instrumentTail.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.