Align standalone app-start vitals attributes with Sentry Conventions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 80/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript
- 领域
- mobile
调研方向
从src/js/tracing/integrations/appStart.ts的第803–812行附近开始,并检查src/js/tracing/semanticAttributes.ts中的相关常量。将独立路径与 issue 中描述的现有移动 SDK 行为进行比较,然后运行应用启动测试。完成标准是:冷启动和热启动时的独立app.start事务都包含统一值及匹配的冷启动/热启动值,还包含 TTID 和 TTFD,并且测试覆盖这两种启动类型。
由索引模型根据 Issue 内容生成。
描述
The experimental standalone app-start transaction sends app.vitals.start.value, which isn't registered yet. Draft getsentry/sentry-conventions#576 proposes registering that unified value and deprecating the registered app.vitals.start.cold.value / app.vitals.start.warm.value pair. sentry-dart and sentry-cocoa send both forms today; RN sends only the unified one.
Tasks
- Support #576 landing, since RN already sends the unified value.
- Until #576 lands, also send
app.vitals.start.cold.valueorapp.vitals.start.warm.value(depending on the start type), matching the other mobile SDKs. - Send
app.vitals.ttid.valueandapp.vitals.ttfd.valueon the standalone path, as sentry-dart does.
Acceptance criteria
- The standalone
app.starttransaction carries the unified value plus the cold/warm value, all from@sentry/conventionsconstants once registered. - Tests cover cold and warm starts.
Agent notes
- Code:
src/js/tracing/integrations/appStart.ts(around lines 803–812). Constants insrc/js/tracing/semanticAttributes.ts. - The option is
@experimental(options.ts, around line 684), so adding attributes is cheap.
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 371
- 平均合并
- 22 小时 3 分钟
- 30 天内合并 PR
- 106
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/sentry-react-native 的其他 Issue
-
React-Native
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-react-native#7073 · 1 条评论 ·
维护者通常 1 天内回复
-
React-Native Replays Task
难度 2/5 1-3 小时 新手友好度 88/100
getsentry/sentry-react-native#6680 · 1 条评论 ·
维护者通常 1 天内回复
-
Improvement React-Native
难度 2/5 1-3 小时 新手友好度 68/100
getsentry/sentry-react-native#6143 · 2 条评论 ·
维护者通常 1 天内回复
-
React-Native Task User Feedbacks
难度 2/5 1-3 小时 新手友好度 84/100
getsentry/sentry-react-native#5932 · 2 条评论 ·
维护者通常 1 天内回复
-
React-Native Replays Task
难度 2/5 1-3 小时 新手友好度 65/100
getsentry/sentry-react-native#5882 · 1 条评论 ·
维护者通常 1 天内回复
查看 getsentry/sentry-react-native 的全部 Issue
相似的 Issue
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFD可能已有人在做 @goranai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
vercel-labs/ui#1494 ·
维护者通常 1 天内回复
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing可能已有人在做 @chaitanya0305 今天认领。 未关闭bug P2
难度 2/5 1-3 小时 新手友好度 62/100
BaaRai/ARTEX#652 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复