Revisit onlyIfParent usage for automatic instrumentation in v12

未關閉
#26,709 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
12/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript, typescript
領域
observability

研究方向

This is a design and policy question for v12, not a scoped edit: it asks whether automatic instrumentations should still require a parent span, especially with span streaming. Start by reading the related discussions #25879 and #25941, then grep the repo for onlyIfParent in the instrumentation packages and the core span/tracing code to catalogue which DB, cache and connection/startup spans currently gate on it. Done means a written, consistent policy covering exceptions and migration implications, agreed on the thread.

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

描述

javascript

Investigate whether automatic instrumentations should still require a parent span, particularly with span streaming. Cover DB/cache operations and connection/startup spans, weighing the usefulness of standalone spans against noise and missing application context.

Define a consistent policy for v12, including any exceptions and migration implications.

Related: #25879, #25941.

主要語言
TypeScript
星號
8.8k
分支
1.9k
平均合併
1 天 8 小時
30 天內合併 PR
744

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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