Sentry Session Replay with Canvas
Pre-requisites
Replay with canvas requires Node 14+, and browsers newer than IE11.
Installation
Replay and ReplayCanvas can be imported from @sentry/browser
, or a respective SDK package like @sentry/react
or
@sentry/vue
. You don't need to install anything in order to use Session Replay. The minimum version that includes
Replay is 7.27.0.
For details on using Replay when using Sentry via the CDN bundles, see CDN bundle.
Setup
To set up the canvas integration, add the following to your Sentry integrations:
Sentry.replayCanvasIntegration(),
Full Example
import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: '__DSN__',
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
integrations: [Sentry.replayIntegration(), Sentry.replayCanvasIntegration()],
});
8.25.0
Important Changes
- Alpha release of Official Solid Start SDK
This release contains the alpha version of @sentry/solidstart
, our SDK for Solid Start!
For details on how to use it, please see the README. Any feedback/bug reports are
greatly appreciated, please reach out on GitHub.
Other Changes
- feat(astro): Add
bundleSizeOptimizations
vite options to integration (#13250) - feat(astro): Always add BrowserTracing (#13244)
- feat(core): Add
getTraceMetaTags
function (#13201) - feat(nestjs): Automatic instrumentation of nestjs exception filters (#13230)
- feat(node): Add
useOperationNameForRootSpan
tographqlIntegration
(#13248) - feat(sveltekit): Add
wrapServerRouteWithSentry
wrapper (#13247) - fix(aws-serverless): Extract sentry trace data from handler
context
over event
(#13266) - fix(browser): Initialize default integration if
defaultIntegrations: undefined
(#13261) - fix(utils): Streamline IP capturing on incoming requests (#13272)