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

Đang mở
#4,629 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, docker-compose
Lĩnh vực
devops, observability

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
9.7k
Fork
2k
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/self-hosted

Tất cả issue của getsentry/self-hosted

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.