Skip to main content

Data retention

Each organization decides how long its data lives. Settings → Retention sets the window; when it is unset, the default of 90 days applies.

What the purge deletes​

A nightly job (03:00) removes, for every organization past its window:

  • events (errors and transactions)
  • structured logs
  • session replays
  • issues left empty once their events are gone

Issue metadata for issues that still have events, monitors, dashboards, wallet history and settings are not touched.

Choosing a window​

WindowFits
7–14 daysHigh-volume services where only the present matters, or tight budgets
30 daysMost teams: a month covers "did we ship this bug?"
90 daysRegulated work, or slow release cycles

Shorter retention lowers storage cost but not ingestion cost — the events were still metered when they arrived. To spend less, sample (SDK or project sample rate) rather than shortening retention.

Troubleshooting​

SymptomCause / fix
Data gone earlier than expectedThe organization's retention window is shorter than you thought, or it is unset and the 90-day default applies
Old data still visibleThe purge runs nightly at 03:00 — data disappears at the next run, not the moment you shorten the window
Need something before it expiresExport it over the REST API while it is still there