Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discard ui.action.click transactions #383

Closed
wants to merge 1 commit into from
Closed

Conversation

cstavitsky
Copy link
Contributor

@cstavitsky cstavitsky commented Jan 24, 2024

What Is It

Removes ui.action.click transactions to avoid confusion during demos

Context

Will C (Wed Jan 24 2024)

Can anyone fill me on on what the ui.action.click for /products is about?
or link me to a PullRequest?
I opened it, it appears like a pageload txn, it has spans you’d find in a pageload
image (66)

Will C

The TPM indicates it’s probably being done via TDA, is that the case?
Not asking for either of the /products /products to be removed.
Just looking to be aware of any potential differences or plans regarding demo’s or the architecture of our app.
Kosty M

weird
Chris S

Probably this? getsentry/sentry-javascript#5750
Edit: nvm, looks like it is still open: getsentry/sentry-javascript#6941 (edited)

🥔
1
Kosty M

interesting how navigation is still there but is a tiny fraction by TPM/#of users
and it’s not coming from an old SDK: https://demo.sentry.io/discover/homepage/?display=default&field=sdk.version&field=tr[…]n%3A%2Fproducts&sort=-sdk.version&statsPeriod=24h&topEvents=5

beforeSendTransaction(event) {
// ui.action.click transactions are showing up in the demo
// which is undesirable
if (event?.contexts?.trace?.op === 'ui.action.click') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this too general? Is it a bad thing if we filter out ALL ui.action.click transactions?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cstavitsky I believe we since un-did the Experiment for transactions from UI clicks but here's my take on this.

I'm a believer that if no one is specifically using ui.action.click transactions, then no, it's not a problem to remove them. When we adopt Beta's and Experiments for the sake of padding our demo data with more data, without a clear defined benefit, then it's opening us up to risk of interference in unforeseen ways.

@realkosty realkosty self-requested a review January 24, 2024 18:13
@realkosty
Copy link
Collaborator

@cstavitsky if we do this we will be left with a tiny number of navigate events and it may affect measurements/graphs. See my last message in slack.

@cstavitsky cstavitsky marked this pull request as draft January 24, 2024 18:26
@cstavitsky
Copy link
Contributor Author

The ui.action.click are from

empower/react/src/index.js

Lines 106 to 107 in d509baf

// This enables tracing on user interactions like clicks
enableInteractions: true,
per Abhi. Closing this PR since it seems unrelated to our tiny number of navigation events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants