@sentry/browser
@sentry/node
raven-js
raven-node
_(raven for node)_4.4.1
I just switched from raven-js to @sentry/browser
. So far it's been a very mixed experience: the library is larger ( #1552 ) and the two settings we were relying on - autoBreadcrumbs: false
and instrument: false
were both changed without an upgrade guide. I was able to determine that beforeBreadcrumb: () => null
should do the trick, but instrumentation looks like it's now by default _on, always_, and that's a problem for us.
Is there still a way to disable instrumentation _and_ breadcrumbs? What I want out of sentry is simply 'sourcemapped errors in a list', and unfortunately that has been getting harder to attain.
I think what you want is
Sentry.init({
...
defaultIntegrations: false
});
If this is set to false, Sentry
acts as a Client to our API. Only the stuff you call with captureMessage
/ captureException
shows up. No by default breadcrumb or error tracking.
Most helpful comment
I think what you want is
If this is set to false,
Sentry
acts as a Client to our API. Only the stuff you call withcaptureMessage
/captureException
shows up. No by default breadcrumb or error tracking.