Next major: migrate deprecated frame attributes, vitals measurements and span ops
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react-native, typescript
- Ambito
- mobile
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- TypeScript
- Stelle
- 1.8k
- Fork
- 371
- Merge medio
- 22h 3m
- PR unite (30g)
- 106
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-react-native
-
React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-react-native#7073 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improvement React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
getsentry/sentry-react-native#7055 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
React-Native Replays Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
getsentry/sentry-react-native#6680 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improvement React-Native
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getsentry/sentry-react-native#6143 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
React-Native Task User Feedbacks
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
getsentry/sentry-react-native#5932 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/sentry-react-native
Issue simili
-
area:config bug priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Doezer/Questarr#1451 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
sidebandstudio/clawtrate#1156 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
WenyuChiou/agent-board#1993 ·
I maintainer di solito rispondono entro 1 giorno
-
bug design
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Colorado-Startups/coloradostartups.org#151 ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jarrodwatts/claude-hud#883 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno