getsentry / getsentry/sentry-javascript

Support Dynamic Workers

Abierto
#19,962 1 comentario 0 reacciones 0 asignados Ver en GitHub
Cloudflare Workers Feature
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.