getsentry / getsentry/sentry-javascript

Use tail workers to send Sentry events

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

Beschreibung

### Problem Statement

Right now the events are send directly inside the users worker and increases at least the network requests to Sentry

### Solution Brainstorm

Using a [tail worker](https://developers.cloudflare.com/workers/observability/logs/tail-workers/) where the events are getting send to Sentry could offload at least the network requests to Sentry.

We would also retrieve additional events, which would not be captured on the worker level.

### Additional Context

It would need some investigation if there would be any benefits performance wise.

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating where Sentry events are sent directly from the users worker, then review the linked Cloudflare tail workers documentation. Investigate whether moving delivery changes performance and which additional events become available. Done should include a decided and validated approach for tail-worker-based event delivery.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
observability-sre
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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