getsentry / getsentry/sentry-javascript

Use tail workers to send Sentry events

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

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

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

Valutazione

Stack tecnologico
typescript
Ambito
observability-sre
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.