[26.11.0] Frontend Insights "Assets by Time Spent" shows no data; normalized span description missing

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

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

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

評価

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

調査の方向性

The issue gives symptoms but no confirmed cause: the Assets by Time Spent chart is empty while resource spans exist, and sentry.normalized_description is absent from them. Start by checking the Frontend Insights query for this chart and which span attributes it filters on, then compare them with the attributes the spans actually carry. Done means the chart shows resource data for resource.script, resource.img and resource.css spans on a 26.11.0 self-hosted instance, or the issue is traced to the upstream component that drops the attribute.

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

説明

Waiting for: Product Owner
Body

Environment

  • Sentry version: Self-Hosted 26.11.0
  • Installation: Official getsentry/self-hosted Docker Compose deployment
  • Affected feature: Insights → Frontend → Assets by Time Spent

Description

The Assets by Time Spent chart in Frontend Insights displays "No data to plot", even though resource spans are successfully collected and visible in the Transaction/Trace details.

After investigating the span attributes in Explore, I found that sentry.normalized_description is missing from all queried spans, while the original descriptions and several other attributes are available.

I would like to confirm whether this is an issue with Relay span normalization, span attribute ingestion/mapping, or a compatibility issue between the current span data model and the Frontend Insights queries.

Steps to reproduce

  1. Deploy Sentry Self-Hosted 26.11.0 using the official Docker Compose setup.
  2. Configure a frontend application with Sentry performance tracing enabled.
  3. Generate page loads containing JavaScript, CSS, and image resources.
  4. Verify that resource.script, resource.img, and resource.css spans appear in Transaction/Trace details.
  5. Navigate to Insights → Frontend → Assets by Time Spent.
  6. Observe that the chart displays "No data to plot".
  7. Open Explore → Spans and compare the available attributes.

Actual behavior

The following attributes are present:

  • span.description
  • sentry.raw_description
  • sentry.category
  • sentry.action

However, the following attributes cannot be found using has: filters:

  • sentry.description
  • sentry.normalized_description
  • span.group

For example, the following query returns no matching spans:

has:sentry.normalized_description

Other span attributes remain queryable, and the original resource spans are visible.

Expected behavior

  • Resource spans should be correctly represented in Frontend Insights.
  • The Assets by Time Spent chart should display resource performance data when eligible resource spans exist.
  • If the chart requires normalized descriptions or grouping attributes, these should be populated or the chart should use the appropriate attributes for the current span format.

Additional context

The frontend SDK is successfully reporting spans, and other attributes such as sentry.category and sentry.action are available.

This does not appear to be a complete tracing ingestion failure.

The precise cause has not yet been confirmed. I suspect a missing or incompatible normalized-description/grouping attribute, but I have not verified the chart's underlying API query.

Any guidance on whether this is expected behavior in 26.11.0, or on how to debug the relevant Relay/EAP processing path, would be appreciated.

主要言語
Shell
スター
9.7k
フォーク
2k
平均マージ
3日 2時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

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

getsentry/self-hosted のほかの issue

getsentry/self-hosted の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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