Skip to content

Auto-instrument user interactions as transactions #5750

Description

@AbhiPrasad

Problem Statement

This helps address issues like #3169, and fix issues like #4072.

It would be a great feature if we could auto-instrument user interactions as transactions. This needs to work similarily to what we did for Android and iOS already.

The main interaction to capture is probably clicks, we can explore more after that!

In addition, this will help with stuff like supporting INP - as we can more carefully track user interactions as a performance metric.

Solution Brainstorm

On click, create a ui.action transaction. This can be tagged with information about the click event.

This will need to be opt-in, as it could potentially spike user's quota.

What we've done in Sentry: https://github.com/getsentry/sentry/blob/d415fe75b82141e45fbeddae84d62fc42a7cb9de/static/app/utils/performanceForSentry.tsx#L46

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions