Register React Native span ops, Expo resource attributes, long-task metric and stall keys in Sentry Conventions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- react-native, typescript
- Área
- backend-api-design
Línea de trabajo
Start with the listed SDK entry points: src/js/tracing/ops.ts, the Expo and React Navigation tracing files, src/js/integrations/longTask.ts, and the stall measurement files. Check how each value is sent, then review the Sentry Conventions registries and use yarn run create:metric for the metric entry. Done means the conventions PRs are merged, the SDK uses registered constants, and rejected or deferred items have reasons recorded; each conventions PR also needs code owner approval and a three business day wait.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Several span ops, attributes and a metric that only the React Native SDK sends aren't in Sentry Conventions. Register them, then switch the SDK to the constants.
Span ops
navigation.processing,navigation.prefetchresource.image.load,resource.image.prefetch: compare with the registeredresource.img.resource.assetui.action.touch: register it, or plan a move to the registeredui.interaction.press. A move changes the op name, so it would go in the next major.
Attributes
image.url,image.url_count(Expo Image): check whetherurl.fullfitsimage.url.asset.count(Expo Asset)sentry.rn.discard_reason: first check whether it reaches the wire. If it does, register it; if it's internal-only, strip it before sending.
Metric
react_native.long_task.duration(distribution, milliseconds) goes into the metrics registry.
Stall measurements
stall_countandstall_longest_timearen't registered.stall_total_timeis already deprecated in favour ofapp.vitals.stall.duration; that migration is tracked in the next-major issue.
Acceptance criteria
- The Sentry Conventions PRs are merged (each needs one code-owner approval, then a 3-business-day wait).
- The SDK uses the constants for everything registered.
- Anything rejected or deferred is recorded in this issue, with the reason.
Agent notes
- Ops:
src/js/tracing/ops.ts,tracing/reactnavigation.ts(lines 535 and 661),tracing/expoRouter.ts(line 102),tracing/expoImage.ts(lines 101 and 152),tracing/expoAsset.ts(line 76),touchevents.tsx(line 285). - Attributes:
tracing/expoImage.ts(lines 105, 106 and 156),tracing/expoAsset.ts(line 80),tracing/onSpanEndUtils.ts(line 19). - Metric:
src/js/integrations/longTask.ts(line 9). - Stall keys:
src/js/measurements.ts,tracing/integrations/stalltracking.ts. - Metric file shape:
model/metrics/<ns>/<ns>__x__y.jsonwith{key, brief, instrument, unit, attributes}, created withyarn run create:metric.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 371
- Merge medio
- 22 h 3 min
- PR fusionados (30 d)
- 106
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-react-native
-
React-Native
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsentry/sentry-react-native#7073 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Improvement React-Native
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
getsentry/sentry-react-native#7055 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
React-Native Replays Task
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
getsentry/sentry-react-native#6680 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Improvement React-Native
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getsentry/sentry-react-native#6143 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
React-Native Task User Feedbacks
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
getsentry/sentry-react-native#5932 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-react-native
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
yavorsky/unbuilt.app#65 ·
-
CVE security
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mckinsey/agents-at-scale-ark#4091 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
factory:subtask
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
NUS-Project-SaBai/project-sabai#386 ·
Los mantenedores suelen responder en 3 días
-
android needs clarification
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
super-productivity/super-productivity#12105 · 3 comentarios ·
Los mantenedores suelen responder en 1 día