Last updated 26 November 2026. By Paul Badarau.
A fictional photographer adds Monitoring to a portfolio with the smallest setup, Sentry.init({ dsn: PORTFOLIO_DSN }). Later a gallery script throws on a broken image. With that setup, this is what leaves the visitor's browser and what Monitoring does with each part:
- The error event. The SDK sends the exception, its stack trace, the breadcrumbs before it, the page URL with its query string, and headers such as User-Agent and Referer. Monitoring keeps the exception, up to 50 frames, the last 30 breadcrumbs, the release, environment and tags, and the URL with its query values removed. It drops the headers.
- Visitor identity. Version 11 collects user data by default and asks the receiving server to infer the visitor's IP address. Monitoring stores neither user data nor IP addresses.
- Sessions. The SDK sends a session for each page load, for release health. Monitoring counts sessions as unsupported and discards them.
- Client reports. The SDK reports how many events it dropped and why. Monitoring stores those counts, and Setup lists them under Not stored in the last 7 days, next to the items Monitoring itself refused.
Logs and traces stay off until you ask for them. Name the release and turn traces on in Sentry.init. Send a log line with Sentry.logger:
Sentry.init({ dsn: PORTFOLIO_DSN, release: 'portfolio@1.4.0', integrations: [Sentry.browserTracingIntegration()], tracesSampleRate: 0.2 })
Sentry.logger.info('Gallery image failed', { slot: 3 })
With those calls, Monitoring stores log lines, each with a redacted body of up to 8 KiB and up to 40 attributes, and pageload and navigation traces as spans. Log attributes that hold user, client, header or body data are dropped. Replays, profiles, attachments and check-ins are counted and discarded, so adding the replay integration only makes visitors upload recordings that Monitoring throws away.
Monitoring removes headers, user data and query values on its own server, after they arrive, so they still leave the visitor's browser. If the page itself must never send them, configure the SDK too. Set dataCollection: { userInfo: false } to stop user data and IP inference, and remove anything else, such as query values in the URL, in beforeSend.
The product page for this is Monitoring.