Skip to content

[User Feedback] - Issue Trace Timeline #68481

Closed

Description

@bruno-garcia

tl;dr: Add the new trace timeline to User Feedback details

A new component was built for the Issue Details page called Issue Trace Timeline. Previously known as Trace Navigator

image

With the JS SDK v8, each new page load or navigation will create a new trace. That means that if a user submits a User Feedback through the widget, that feedback will be using the same trace-id as other relevant data during that last page load. Including client side errors, as well as calls to the backend that might have be the culprit of that error.

With the JS SDK v7 though, there is a global trace id that wasn't used during page load requests that resulted in HTTP calls to the backend. This means that User Feedbacks from the widget are not likely to be connected to any other telemetry.

Additionally, feedback received from the legacy API (that only takes name/email/comments) doesn't have a trace id. They are connected to an error though (through event_id) so we potentially leverage that trace-id. We can do so by coping the trace_id from the event linked in the shim code.

To verify the data, we can use ?dataset=issuePlatform on Discover. For example this query. Once v8 is installed in Sentry we'll be able to confirm what data would be visible in the component.

Also note the component might need to be adjusted to show User Feedback. It was designed for Issue Details so it shows other error events only (no spans).

Additional context

Spans on trace navigator

image

Trace-id behavior in JS SDK v7 vs v8

image image image

Activity

  1. getsantry commented on Apr 8, 2024

    @getsantry
    Contributor

    Routing to @getsentry/product-owners-user-feedback for triage ⏲️

  2. bruno-garcia commented on Apr 12, 2024

    @bruno-garcia
    MemberAuthor
  3. aliu39 commented on Jul 23, 2024

    @aliu39
    Member

    @bruno-garcia

    To verify the data, we can use ?dataset=issuePlatform on Discover. For example this query. Once v8 is installed in Sentry we'll be able to confirm what data would be visible in the component.

    Can you clarify what is meant by "verify the data" here? Also, do you know when v8 will be installed?

  4. jas-kas commented on Jul 23, 2024

    @jas-kas
    Contributor

    @aliu39 the v8 SDK has been installed for Sentry :)

    by verify the data, i think bruno means to click into the trace IDs associated with the feedback events and confirm if the same issues in those traces, show up in the issue trace timeline

    Image

  5. aliu39 commented on Aug 17, 2024

    @aliu39
    Member

    Also note the component might need to be adjusted to show User Feedback. It was designed for Issue Details so it shows other error events only (no spans).

    I need to find an example, but looking over the code, I believe the component already shows user feedback. UF is an Issue Platform event and this query for timeline events doesn't filter by category. So as long as a UF has a trace id, it'll show up

  6. aliu39 commented on Sep 3, 2024

    @aliu39
    Member

    Closed by #76858

  7. aliu39 commented on Sep 17, 2024

    @aliu39
    Member

    Still need to GA this

  8. reopened this on Sep 17, 2024
  9. aliu39 commented on Oct 1, 2024

    @aliu39
    Member
  10. locked and limited conversation to collaborators on Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions