Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.93.0
Framework Version
No response
Link to Sentry event
SDK Setup
Sentry.init({
dsn: ENV.SENTRY_DSN,
tracesSampleRate: env.APP_ENV === "production" ? 0.5 : 0.1,
environment: env.SENTRY_ENVIRONMENT,
denyUrls: [
/\/resources\/healthcheck/,
/\/build\//,
/\/favicons\//,
/\/images\//,
/\/fonts\//,
/\/favicon.ico/,
/\/site\.webmanifest/,
/.*\.map$/,
],
maxValueLength: 5000,
integrations: [
new Sentry.Integrations.Http({ tracing: true }),
new Sentry.Integrations.Prisma({ client: prisma }),
new ProfilingIntegration(),
new Sentry.Integrations.RequestData(),
],
beforeSendTransaction(event) {
if (event.request?.url?.includes("/healthcheck")) return null;
return event;
},
});
Steps to Reproduce
Expected Result
When a fetcher is submitted with form data or a Form is submitted with POST, it should log FormData in Sentry. I went through the source code of RequestData integration, I even debugged it and found out that the request body in @sentry/utils
requestdata.js
-> extractRequestData
does not exist.
Actual Result
Cannot find any mention of request data. Sometimes the only thing it shows is something like request_body_size
Metadata
Metadata
Assignees
Type
Projects
Status
No status