getsentry / getsentry/sentry-javascript

Support Dynamic Workers

Aperta
#19,962 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

Dynamic Workers were added to sandbox code you can't trust.

Some more info for Dynamic Workers:
Blog post: https://blog.cloudflare.com/dynamic-workers/
Dev docs: https://developers.cloudflare.com/dynamic-workers/
Examples you can get started with: https://developers.cloudflare.com/dynamic-workers/getting-started/#try-it-out
Worker-bundler: https://www.npmjs.com/package/@cloudflare/worker-bundler

Currently I assume that nothing would happen once this spins up and they won't get instrumented.

### Solution Brainstorm

We would need at least a new span around the newly spawned worker, to see how long this worker runs.

We could also add an additional option to instrument the dynamic worker as well.

### Additional Context

_No response_

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

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.