getsentry / getsentry/sentry-javascript

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

Ouverte
#24,038 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Cloudflare Workers Feature javascript
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
523

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.