Closed as not planned
Closed as not planned
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.84.0
Framework Version
Remix 2.1.0
Link to Sentry event
n/a
SDK Setup
Sentry.init({
dsn: window.SENTRY_DSN,
environment: window.SENTRY_ENVIRONMENT,
tunnel: "/api/internal/sentry_proxy",
tracesSampleRate: 1,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
beforeSend(event) {
if (event.exception) {
errorHook(event)
}
return event
},
integrations: [
new Sentry.BrowserTracing({
routingInstrumentation: Sentry.remixRouterInstrumentation(
useEffect,
useLocation,
useMatches,
),
}),
new Sentry.Replay({
maskAllText: false,
maskAllInputs: false,
blockAllMedia: false,
}),
],
})
Steps to Reproduce
- Configure Remix SDK as described in the setup guide (mine above has some small additions)
- Run eslint with recommended config
Expected Result
No eslint error
Actual Result
Some variation of #4569 and #6705:
32:18 error 'BrowserTracing' not found in imported namespace 'Sentry' import/namespace
39:18 error 'Replay' not found in imported namespace 'Sentry' import/namespace
Metadata
Metadata
Assignees
Type
Projects
Status
No status
Status
Waiting for: Product Owner