[26.11.0] Frontend Insights "Assets by Time Spent" shows no data; normalized span description missing
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 22/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, docker-compose
- 领域
- devops, observability
调研方向
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 内容生成。
描述
Body
Environment
- Sentry version: Self-Hosted 26.11.0
- Installation: Official
getsentry/self-hostedDocker 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
- Deploy Sentry Self-Hosted 26.11.0 using the official Docker Compose setup.
- Configure a frontend application with Sentry performance tracing enabled.
- Generate page loads containing JavaScript, CSS, and image resources.
- Verify that
resource.script,resource.img, andresource.cssspans appear in Transaction/Trace details. - Navigate to Insights → Frontend → Assets by Time Spent.
- Observe that the chart displays "No data to plot".
- Open Explore → Spans and compare the available attributes.
Actual behavior
The following attributes are present:
span.descriptionsentry.raw_descriptionsentry.categorysentry.action
However, the following attributes cannot be found using has: filters:
sentry.descriptionsentry.normalized_descriptionspan.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
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/self-hosted 的其他 Issue
-
Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 72/100
getsentry/self-hosted#4644 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
getsentry/self-hosted#4518 · 3 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
Waiting for: Product Owner
难度 3/5 1-2 天 新手友好度 73/100
getsentry/self-hosted#4642 · 3 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
Waiting for: Community
难度 4/5 3-5 天 新手友好度 28/100
getsentry/self-hosted#4637 · 1 条评论 ·
维护者通常 2 天内回复
-
Waiting for: Product Owner
难度 4/5 3-5 天 新手友好度 25/100
getsentry/self-hosted#4634 ·
维护者通常 2 天内回复
查看 getsentry/self-hosted 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
ajithakdev/claude-desktop-rpm#43 ·
维护者通常 1 天内回复
-
documentation enhancement
难度 2/5 1-3 小时 新手友好度 82/100
aws/aws-networking-best-practices#256 ·
维护者通常 2 天内回复
-
area:terraform source:reader type:content-error
难度 1/5 1 小时以内 新手友好度 88/100
stephrobert/blog-roadmap#268 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
难度 2/5 1-3 小时 新手友好度 70/100