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
latest
Framework Version
Remix v2
Link to Sentry event
n/a
SDK Setup
n/a
Steps to Reproduce
- create a Remix application with a custom express server
- instrument as described in manual instrumentation
- load the application from the browser
- no http.server transactions are produced
Expected Result
loading the index root should produce an http.server transaction
Actual Result
After stepping through the code it looks like we are wrapping the remix server and then not wrapping the request handler as isRequestHandlerWrapped
is evaluating to true despite no transactions being produced automatically from the back-end.
(Breakpoint was set at this location here:
)The workaround was to import Sentry in entry.server.ts from @sentry/node and call Sentry.init() as usual
Metadata
Metadata
Assignees
Type
Projects
Status
No status