Next major: migrate deprecated frame attributes, vitals measurements and span ops
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript
- 领域
- mobile
调研方向
Start with the listed entry points: src/js/tracing/timetodisplay.tsx, src/js/tracing/integrations/nativeFrames.ts, src/js/tracing/integrations/appStart.ts, src/js/measurements.ts, src/js/tracing/utils.ts, src/js/tracing/integrations/stalltracking.ts, and src/js/touchevents.tsx. Coordinate the frames.* changes with sentry-cocoa and sentry-java, and confirm Mobile Vitals reads the replacement names before removing old keys. Done when deprecated keys are no longer sent and the breaking changes appear in the migration guide.
由索引模型根据 Issue 内容生成。
描述
These keys are deprecated in Sentry Conventions. Relay backfills them, so queries on the new names already work, and Mobile Vitals still reads the old measurements from transactions. Renaming them in the SDK is breaking, so it belongs in the next major.
Changes
| Today | Replacement |
|---|---|
span data frames.total, frames.slow, frames.frozen |
app.vitals.frames.total.count, .slow.count, .frozen.count |
span data frames.delay |
app.vitals.frames.delay.value |
measurements app_start_cold, app_start_warm |
app.vitals.start.cold.value, .warm.value (or the unified value if sentry-conventions#576 lands) |
measurements time_to_initial_display, time_to_full_display |
app.vitals.ttid.value, app.vitals.ttfd.value |
measurement stall_total_time |
app.vitals.stall.duration |
op ui.action.touch (only if we decide to move it) |
ui.interaction.press |
Coordination
sentry-cocoa and sentry-java send the same frames.* keys on native spans, so coordinate the switch to keep data consistent across layers. Confirm that the Mobile Vitals product reads the new names before dropping the old ones.
Acceptance criteria
- None of the deprecated keys above are sent.
- The breaking changes are listed in the migration guide.
Agent notes
frames.*:src/js/tracing/timetodisplay.tsx(lines 604–606 and 690).src/js/tracing/integrations/nativeFrames.ts(lines 191–203).src/js/tracing/integrations/appStart.ts(lines 339–341 and 849).
- Measurements:
src/js/measurements.ts.src/js/tracing/utils.ts(line 68, TTID/TTFD).src/js/tracing/integrations/stalltracking.ts.
- Op:
src/js/touchevents.tsx(line 285).
- 主要语言
- 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 天内回复
-
Improvement React-Native
难度 2/5 1-3 小时 新手友好度 80/100
getsentry/sentry-react-native#7055 · 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 天内回复
查看 getsentry/sentry-react-native 的全部 Issue
相似的 Issue
-
area:config bug priority:medium
难度 2/5 1-3 小时 新手友好度 88/100
Doezer/Questarr#1451 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
sidebandstudio/clawtrate#1156 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WenyuChiou/agent-board#1993 ·
维护者通常 1 天内回复
-
bug design
难度 2/5 1-3 小时 新手友好度 88/100
Colorado-Startups/coloradostartups.org#151 ·
维护者通常 1 天内回复
-
question
难度 2/5 1-3 小时 新手友好度 78/100
jarrodwatts/claude-hud#883 · 1 条评论 ·
维护者通常 1 天内回复