Replies: 2 comments 1 reply
-
If you don't want to collect server side performance you can set |
Beta Was this translation helpful? Give feedback.
0 replies
-
I mean, I want to collect pageload trace data. In my case, unintended data that is http.server trace is also collected. So, I set beforeSendTransaction(event) {
if (event.contexts?.trace?.op === 'pageload') {
return event;
}
return null;
}, |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using Sentry Performance with nextjs.
I found that Sentry collects the transactions that is on both client and server.
But I just want to collect data with pageload to measure web-vitals(fcp, lcp). I don't want to collect only server side data(getInitialProps).
So, I write code like this.
sentry.client.config.ts
sentry.server.config.ts
And I got the below result
Server side (getIntialProps)
Client side
I don't want to collect only getIntialProps trace.
But I can't know how to filter that trace.
Can I know the way to do it?
Beta Was this translation helpful? Give feedback.
All reactions