Which SDK data does error monitoring not keep?

Monitoring keeps errors, structured logs and traces. It counts and discards sessions, replays, profiles, attachments, check-ins and metrics. Inside what it keeps, it drops request bodies, headers, cookies, user data, IP addresses, source code lines, custom contexts and extra data, and it redacts emails, tokens and card numbers it finds in text.

Last updated 26 November 2026. By Paul Badarau.

A fictional invoicing app calls Sentry.setUser with the person's ID and email, Sentry.setContext('plan', { name: 'team' }), and Sentry.setTag('plan', 'team'), and it has session replay turned on. When an error arrives, Monitoring keeps the tag plan, the browser and operating system, the release, the stack frames and the breadcrumbs. It drops the user, the plan context and the replay.

Item types Monitoring counts and discards:

  • Sessions, which the browser SDK sends by default.
  • Replays, profiles, attachments, check-ins and metrics.

What it keeps inside each item it stores:

  • Errors: exception types and messages, up to 50 frames per exception with file, function, line and column, up to 30 breadcrumbs, up to 30 tags, the browser, operating system, runtime and device, the request method and URL without query values, release, environment, SDK, and trace IDs. Request bodies, headers, cookies, user data, IP addresses, source code lines, custom contexts and extra data are dropped.
  • Logs: level, body up to 8 KiB, trace and span IDs, release, environment, SDK and up to 40 attributes. Attributes under user., client., headers and bodies are dropped.
  • Spans: IDs, name, operation, status, start and end, sample rate and up to 40 attributes. Measurements attached to a transaction are not stored.

Redaction runs on what is kept. Values under keys such as password, token, secret, authorization, cookie, session, API key, email and IP are filtered. In text, bearer and basic credentials, JWTs, credentials in URLs, secrets written as key=value, email addresses, IP addresses and card numbers are replaced. Free text is not guaranteed secret-free, so send credentials as named fields or remove them in beforeSend.

What to change in your setup:

  1. Put what you need for debugging, such as a plan name or a feature flag, in tags. Tags are kept, and contexts and extra data are not.
  2. Keep personal data out of tags and messages. Redaction catches the patterns above, not every kind of personal data.
  3. Remove integrations whose data Monitoring discards, such as session replay and profiling.

Discarded data still leaves your visitors' browsers and costs them the upload. A replay is recorded and uploaded as usual, Monitoring answers that it was received, and then drops it. The SDK reports no failure, so nothing tells you the replay went nowhere except the unsupported rows under Not stored in the last 7 days on the Setup page.

The product page for this is Monitoring.

Start your 14-day free trial