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

Nuxt@3.15.4, Vue@3.5.13

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy