Next.js - How to disable all transactions for middleware ? #13611
Unanswered
ZoranRavic
asked this question in
Q&A
Replies: 0 comments
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.
-
When I open the "Discover" page it's flooded with transactions for "middleware" which does not contain any useful data.
In
sentry.edge.config.ts
I settracesSampleRate: 0
, but this does not help.Does anyone know any way to get rid of all this spam ?
If it is relevant I'm on Next.js v14.2.7 and I do have a
middleware.ts
file, but it doesn't do much and I might even remove it.Beta Was this translation helpful? Give feedback.
All reactions