Revisit onlyIfParent usage for automatic instrumentation in v12

未关闭
#26,709 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
领域
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 摘要。