Register mobile app-start and `ui.load` span ops in Sentry Conventions

Abierto
#7,054 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
36/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start with the existing draft getsentry/sentry-conventions#507 and coordinate with the other mobile SDKs before changing the conventions. The issue identifies the RN constants in src/js/tracing/ops.ts and literal ops in src/js/tracing/timetodisplay.tsx, src/js/tracing/onSpanEndUtils.ts, and src/js/tracing/integrations/appStart.ts; inspect those alongside model/op/mobile.json in Sentry Conventions. Done means the ops are registered there and the RN SDK uses the @sentry/conventions constants.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

React-Native Task

The app-start and screen-load span ops that all mobile SDKs send aren't in Sentry Conventions. Today model/op/mobile.json only lists generic ops (app, ui, navigation, http, file, serialize, turbo_module, app.update.*).

Ops

  • app.start, app.start.cold, app.start.warm, app.start.extended
  • ui.load, ui.load.initial_display, ui.load.full_display

sentry-cocoa, sentry-java and sentry-dart send these ops too, so this is a cross-mobile change, not an RN-only one. Coordinate with the other mobile SDKs and with the existing draft getsentry/sentry-conventions#507 (mobile span descriptions) rather than opening a competing PR.

Acceptance criteria

  • The ops are registered in Sentry Conventions.
  • The RN SDK uses the @sentry/conventions op constants for them.
Agent notes
  • RN constants: src/js/tracing/ops.ts (APP_START*, UI_LOAD*).
  • Literal ops in:
    • src/js/tracing/timetodisplay.tsx (lines 236 and 300).
    • src/js/tracing/onSpanEndUtils.ts (line 107).
    • src/js/tracing/integrations/appStart.ts.
  • Op file shape: model/op/<category>.json with {name, description, fields:[{name, description}]}.
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
371
Merge medio
22 h 3 min
PR fusionados (30 d)
106

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-react-native

Todos los issues de getsentry/sentry-react-native

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.