getsentry / getsentry/sentry-javascript

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

Aperta
#24,038 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Cloudflare Workers Feature javascript
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
523

Descrizione

`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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.