-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
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/vue
SDK Version
7.111.0
Framework Version
Vue 2.7.15
Link to Sentry event
NA
SDK Setup
import * as Sentry from '@sentry/vue'
import { httpClientIntegration } from '@sentry/integrations'
Sentry.init({
Vue,
dsn: process.env.VUE_APP_SENTRY_DSN,
environment: process.env.VUE_APP_SENTRY_ENVIRONMENT,
release: `v${process.env.VUE_APP_VERSION}`,
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration({
maskAllText: false,
blockAllMedia: false,
}),
httpClientIntegration()
],
attachStacktrace: true,
autoSessionTracking: true,
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
})Steps to Reproduce
- Import 'httpClientIntegration' from @sentry/integrations
- Add it in Sentry integrations
Expected Result
It should be imported properly and should work as mentioned in docs
Actual Result
It seems the it is not exported properly from @sentry/integrations
Sentry stops working when I add 'httpClientIntegration' to integrations array.
Intellisense doen't work on this imported package and doesn't take you to type definitions file if 'cmd + click' (Mac) on @sentry/integrations
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Community