Skip to main content
The SDKs send only the data that they need to show an error in context. This page lists that data, the values that Squasher masks, and the options that you can use to send less.

What the SDKs send

For Web Vitals, Squasher also adds the browser, the operating system, the user agent, the language, and the country, region, city, and time zone of the request. It does not add the IP address of the request.

End-user IP addresses

A request span can carry the IP address of the end user who sent the request, for example client.address or an X-Forwarded-For header. Squasher decides at ingest how much of that address it stores, so no SDK or OpenTelemetry exporter can send more than the project allows. Each project has one End-user IP setting: With truncated, security findings still group requests from the same network, so scanners and brute-force attempts from one network show as one source. A truncated network is never treated as one address: Squasher does not offer to block it, and it never joins the entity of a full address. To block one address, set the mode to full. The Squasher Agent can tell you to do this, but it cannot change the setting. The setting covers client.address, source.address, the client IP request headers (cf-connecting-ip, true-client-ip, x-real-ip, x-forwarded-for, forwarded, x-client-ip, x-cluster-client-ip, fastly-client-ip), their older OpenTelemetry names, and network.peer.address of server spans. Audit logs from connected vendors (for example Okta) keep the address that the vendor sends. A change applies to new data within about 60 seconds; stored data does not change. An owner or admin changes the mode in Settings › Security under End-user IP, or with the PII settings API. The edge SDK also takes endUserIp: "off", so the address never leaves your Worker.

Values that Squasher masks

  • Secret keys. For SDK events, Squasher replaces the value of each attributes or extra key that has authorization, cookie, password, secret, token, or api_key as a part of its name with [REDACTED]. For example, password and auth.token are masked.
  • Request data. withHttpRequest() in the Node.js SDK removes the query string from the request URL. It masks headers whose names contain words such as authorization, cookie, token, secret, or password, and it masks bearer tokens, JWTs, API keys, and email addresses in other header values.
Squasher does not remove personal data from error messages, user context, or tags.

Send less data

Use beforeSend to change or drop an event before the SDK sends it. The Node.js, browser, and edge SDKs accept beforeSend: (event) => event | null. Return null to drop the event.
In the browser SDK, these options send less:
Session replay is private by default. It masks all page text, all typed values, and media. Password, payment card, and one-time-code fields are always left out, and the recorded page URL has no query string. See Session replay to show text on pages without personal data.

What AI triage reads

AI triage reads the issue record and the latest events of the issue, with their stack traces. It can also query the project’s issues, events, logs, traces, metrics, and deployments. Triage can only read: it does not change data, and it does not read your code. See What triage reads. Because triage reads error messages and event data, do not put personal data in error messages, and keep personal data out of event attributes and logs.

How long Squasher keeps data

Each type of data has its own retention period, which depends on the plan. See Retention. The organization’s Usage and billing page shows the periods of each plan.

Delete your account

  1. Select your name at the bottom of the sidebar, then Account.
  2. Select the Delete account tab.
  3. Type your email in Confirm your email, then select Delete account.
If you are the only owner of an organization, Squasher lists it and does not delete your account. Make another member an owner first. Account deletion removes your user account. It does not delete organizations, projects, or their data.

Next steps

Data regions

See where Squasher stores your data.

Session replay

Choose what replays record.