Improve `Awake` auto-instrumentation quality

オープン
#1,855 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, unity

調査の方向性

Unity SDK の opt-in された Awake 自動計測のエントリーポイントから開始し、GetSpan が各呼び出しの親をどのように決定するかを追跡します。現在のトレース動作を検証し、その後、完了条件を、Awake 内の手動 span が再親付けできない安定した親を持つ、グループ化された Awake 呼び出しとして定義します。両方の問題を同等のトレースシナリオで確認します。

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

説明

Improvement Spans Unity

Currently, when opted-into, the SDK will auto-instrument awake calls.

Issue 1

This can get quite noisy. See 109 Awake instances within Trace View and that is just with 2 MonoBehaviours on each GameObject.
A possible solution would be to group all auto-instrumented awake calls together.

Image

Issue 2

This follows Issue 1. Creating a manual span inside Awake causes it be be the parent of all subsequent Awake calls. See here and here.
If awake calls are already grouped together then there is no need to have them look up GetSpan to set the parent but they could refer to their "fixed" parent.

Image

主要言語
C#
スター
295
フォーク
63
平均マージ
4日 10時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

getsentry/sentry-unity のほかの issue

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

似ている issue

C# の issue をもっと見る

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

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