getsentry / getsentry/sentry-javascript

Support Dynamic Workers

未關閉
#19,962 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Cloudflare Workers Feature
主要語言
TypeScript
星號
8.7k
分支
1.8k
平均合併
1 天 18 小時
30 天內合併 PR
541

描述

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

貢獻指南

開啟貢獻指南

研究方向

先閱讀連結的 Dynamic Workers 文件、範例以及 @cloudflare/worker-bundler 套件資訊,以了解新建立的 worker 如何產生。issue 中沒有指定任何 repository 檔案、測試或進入點。完成的條件是針對動態 worker 形成一致同意的 instrumentation 方案,其中包括提議的 span 以及任何可選的 instrumentation 行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, typescript
領域
backend, observability
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。