Skip to content

In nuxt SSR app with just a single route I am getting transaction.op as navigation #16868

Open
@chaitanyaQz

Description

@chaitanyaQz

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

8.47.0

Framework Version

[email protected], [email protected]

Link to Sentry event

https://quizizz.sentry.io/insights/frontend/summary/trace/79781225ee3d43b191fad880a50bb230/?display=durationpercentile&eventId=45f5a8b248f84b50834bacdd431a4771&project=4509472803848192&query=transaction.op%3Anavigation&referrer=insights-frontend-overview&source=performance_transaction_summary&statsPeriod=14d&timestamp=1752115431&transaction=join-nuxt

Reproduction Example/SDK Setup

I have a very simple SSG(Static site generation) nuxt app with a single route marked by beforeStartSpan name:join-nuxt span.

Since it is only a single page there is no possibility of having navigation transactions. Not sure how sentry is tagging the transactions as navigation?

My guess is since this is a server side generated static page the whole transaction is coming up as a span & getting marked as navigation, because almost 50% of the traffic is being shown as navigation which is what corresponds to logged-out behaviour or completely static behaviour.

Steps to Reproduce

  1. You should be in a VPN of Indonesia or India.
  2. Go to Incognito in your browser.
  3. Open https://wayground.com/join & if you are lucky the trace should show up since we do a 5% sampling.

Expected Result

Have zero navigation transactions, all the transactions should be tagged pageload only. Since the app only has a single page, which is statically generated at build time & can only have pageload.

Actual Result

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions