Skip to content

Capture Status Code for Resource Requests in Sentry #16805

Closed

Description

@meldsz

Problem Statement

Issue: Currently, Sentry does not provide a mechanism to capture the status code for resource requests, such as image or video requests. This absence of status code information poses a challenge in determining the success or failure of these specific types of requests, leading to potential gaps in tracking and monitoring network activity effectively.

Feature Request: Addition of a feature in Sentry to capture and report status codes for resource requests, can help developers gain valuable insights into the outcomes of image and video requests, facilitating more comprehensive error tracking and troubleshooting processes.

Solution Brainstorm

Enhanced Network Monitoring: Introduce a feature that allows Sentry to capture and display the status codes of resource requests, providing visibility into the success or failure of these requests.

Adding sendDefaultPii: true in the configuration does not capture headers for resource requests

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 3, 2025
  2. chargome commented on Jul 4, 2025

    @chargome
    Member

    Hey @meldsz thanks for chiming in!

    We're getting these spans from the browser performance API, will need to check if we can attach additional data here.
    cc @Lms24

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jul 4, 2025
  4. self-assigned this
    on Sep 8, 2025
  5. github-actions commented on Sep 16, 2025

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #17562, which was included in the 10.12.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions