Align standalone app-start vitals attributes with Sentry Conventions

オープン 初心者向け
#7,055 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
80/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react-native, typescript
領域
mobile

調査の方向性

src/js/tracing/integrations/appStart.tsの803~812行目あたりから始め、src/js/tracing/semanticAttributes.tsにある関連定数を確認してください。スタンドアロンの経路を、issueに記載されている既存のモバイルSDKの動作と比較してから、アプリ起動のテストを実行してください。スタンドアロンのapp.startトランザクションに、コールドスタートとウォームスタートの両方で統一された値と、それぞれに対応するコールド/ウォームの値、さらにTTIDとTTFDが含まれ、テストが両方の起動タイプをカバーすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Improvement React-Native

The experimental standalone app-start transaction sends app.vitals.start.value, which isn't registered yet. Draft getsentry/sentry-conventions#576 proposes registering that unified value and deprecating the registered app.vitals.start.cold.value / app.vitals.start.warm.value pair. sentry-dart and sentry-cocoa send both forms today; RN sends only the unified one.

Tasks

  • Support #576 landing, since RN already sends the unified value.
  • Until #576 lands, also send app.vitals.start.cold.value or app.vitals.start.warm.value (depending on the start type), matching the other mobile SDKs.
  • Send app.vitals.ttid.value and app.vitals.ttfd.value on the standalone path, as sentry-dart does.

Acceptance criteria

  • The standalone app.start transaction carries the unified value plus the cold/warm value, all from @sentry/conventions constants once registered.
  • Tests cover cold and warm starts.
Agent notes
  • Code: src/js/tracing/integrations/appStart.ts (around lines 803–812). Constants in src/js/tracing/semanticAttributes.ts.
  • The option is @experimental (options.ts, around line 684), so adding attributes is cheap.
主要言語
TypeScript
スター
1.8k
フォーク
371
平均マージ
22時間 3分
マージ済み PR(30日)
106

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-react-native のほかの issue

getsentry/sentry-react-native の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。