Auto-instrument user interactions as transactions #6941
Closed
AbhiPrasad
started this conversation in
Features / New SDKs (Integrations) / Ideas
Replies: 2 comments 1 reply
-
Hi, I wonder if this is already merged to the latest sentry react? Below is the version I am using and I am still experiencing the same issue on everytime when I fetch a api request the sentry-trace is not being added to the headers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Has there been any traction on this? We’re very interested in finding some solution to capturing INP and it would be tremendously valuable if Sentry just handled it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions