Closed
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/browser
SDK Version
7.91.0
Framework Version
Astro 4.0.7
Link to Sentry event
No response
SDK Setup
export default defineConfig({
integrations: [
mdx(),
sentry({
debug: true,
enabled: process.env.NODE_ENV === 'production',
dsn: '...',
sourceMapsUploadOptions: {
project: 'letschurch-astro',
authToken: process.env.SENTRY_AUTH_TOKEN,
},
autoInstrumentation: {
requestHandler: true,
},
}),
],
output: 'server',
adapter: node({
mode: 'standalone',
}),
});
Steps to Reproduce
I am unable to reproduce this issue in isolation and I am seeking further debugging steps.
In my project when I have autoInstrumentation.requestHandler
set to true
(either as above, or by not specifying autoInstrumentation
at all and letting the default value take effect) mdx pages are truncated. Short pages are blank, and long pages have the end cut off.
This does not happen with md or astro pages, only mdx.
Expected Result
The following screenshots are from the end of a long mdx page when autoInstrumentation.requestHandler
is set to false
:

Actual Result
These screenshots are from the end of that same long mdx page when autoInstrumentation.requestHandler
is set to true
(or unspecified):

Metadata
Metadata
Assignees
Type
Projects
Status
No status