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

未关闭
#4,629 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
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 小时
30 天内合并 PR
16

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/self-hosted 的其他 Issue

查看 getsentry/self-hosted 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。