Register React Native span ops, Expo resource attributes, long-task metric and stall keys in Sentry Conventions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react-native, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 371
- 平均マージ
- 22時間 3分
- マージ済み PR(30日)
- 106
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
yavorsky/unbuilt.app#65 ·
-
CVE security
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mckinsey/agents-at-scale-ark#4091 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NUS-Project-SaBai/project-sabai#386 ·
メンテナーはふだん 3 日以内に返信
-
android needs clarification
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
super-productivity/super-productivity#12105 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信