Remove experimental feature for ui clicks, which may be overwriting navigation transactions #400
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
experimental feature ui.click transactions may be overwriting navigation transactions in the demo.
Abhi:
Slack discussion for 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
22 replies
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
Chris S
If we don’t care to find out why right now: #383
Chris S
Could also scope the filter just to /products ui.action.clicks
Kosty M
It seems like ui.action.click is supposed to replace navigation . We should probably check with Abhi why navigation are still trickling in occasionally… or am I missing something?
Chris S
Ah. My bad, did not digest what you were saying
👍
We should probably check with Abhi why navigation are still trickling in occasionally…
agree
👍
Chris S
Did anyone hear anything about navigation going away?
Chris S
Still getting a lot of navigation tx in sentry.sentry.io from a higher sdk ver
https://sentry.sentry.io/discover/homepage/?field=sdk.version&field=transaction.op&fi[…]vigation&sort=-sdk.version&statsPeriod=14d&yAxis=count%28%29
Chris S
@abhi
we wanted to ask your opinion about something (not urgent).
Summarizing the discussion above:
We used to have a high volume of navigation transactions in our demo. We now see a high volume of ui.action.click and a small handful of navigation transactions.
This has been happening for >90 days so hard to tell what might have introduced it.
Any idea why this would have happened? Did ui.action.click replace navigation transactions at some point not that long ago?
We saw these GH discussions (1, 2) you were involved in, but seems like (a) this may not be implemented yet, and (b) it’s opt-in. So this seems unlikely to me?
Abhijeet P
ui.action.click is enabled by adding the experiment
empower/react/src/index.js
Lines 106 to 107 in d509baf
:thank_you:
1
🥔
1
Abhijeet P
but it shouldn’t replace anything, we didn’t make any changes on the SDK side toward this
Kosty M
🤔
I don’t get it… It looks like the overwhelming majority of what used to be op:navigation txns are now op:ui.action.click which seems to be the definition of replacing
Abhijeet P
we have logic builtin to prevent interactions from overwriting navigations https://github.com/getsentry/sentry-javascript/blob/52495c00ba700dd1df58025ef49195048279b692/packages/tracing-internal/src/browser/browsertracing.ts#L422-L425
Abhijeet P
Also I see a lot of this is on 7.77.0 - can we try bumping the SDK to 7.94.1?
:baymax-yes:
1
Kosty M
also I wonder if those are history i.e. clicking
⬅️
in the browser
see how not a single one is from TDA: https://demo.sentry.io/discover/homepage/?display=default&field=sdk.version&field=tr[…]%3Anavigation&sort=transaction.op&statsPeriod=14d&topEvents=5
Abhijeet P
also I wonder if those are history i.e. clicking
⬅️
in the browser
does the automation trigger the a button click instead of history navigate?
Kosty M
I believe so. New selenium session load the page (pageload) then clicking
Abhijeet P
so that should trigger navigate first, but perhaps theres a race condition here. Considering ui interactions are experimental and not actively supported, should we turn this off for the demo?
👍
1