getsentry / getsentry/sentry-javascript

Support Dynamic Workers

未关闭
#19,962 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Cloudflare Workers Feature
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。