Skip to content
Maple Docs
Open app

Retention

How long hosted Maple keeps each kind of data: traces, logs, metrics, profiles, session replays, product events, error issues, alert history and the audit log, and custom retention on Enterprise.

Hosted Maple deletes data automatically once it passes its retention period. The periods are the same in both regions. Age is measured from the data’s own timestamp (for example a span’s start time), except session replay recordings, which age from when Maple received them.

Telemetry

Data Kept for
Traces (spans) 30 days
Logs 30 days
Metrics (sum, gauge, histogram, exponential histogram) 90 days
Session replays (recordings and their timeline events) 30 days
Continuous profiles 14 days
Product events 365 days
Error occurrences (the individual events behind error issues) 90 days
Hourly rollups of traces and logs (service overview, service map edges, trace and log aggregates) 365 days
Per-minute service overview rollups (charts over windows of a few days) 90 days
CI workflow runs and jobs (Review & CI → CI) 365 days

Individual spans, log lines and data points cannot be read once they pass these periods. Charts built on hourly rollups, such as service overviews and the service map, can reach further back, up to the rollup’s 365 days. Some queries have shorter maximum time ranges. See Limits.

Custom retention

On the Enterprise plan, an organization can keep traces, logs, metrics, session data, product events and profiles for its own period, from 1 to 800 days, set for the whole organization or for one source. A source without its own period uses the organization’s. Contact support to set it up. Rollups keep the periods above.

Error issues

Error issues are not deleted by age while they are open, no matter how old their errors are. These rules clean them up:

Issue state What happens
Resolved (done) for 14 days The issue is archived
Grouped under an older fingerprinting scheme, after Maple changes how errors are grouped The issue is archived, and new occurrences open a new issue
Archived for 90 days The issue is deleted, with its incidents, comments and state history
A fingerprint that never became an issue Forgotten after 7 days without a new occurrence

Alerts and audit history

Data Kept for
Alert rule checks (each evaluation, with its observed value) 365 days
Organization audit log (Settings → Audit log) 6 years (2,190 days)
Audit events from connected tools stored in Maple’s audit trail, such as a Vercel team’s audit log drain 400 days

Audit events that arrive as logs instead are kept for 30 days, like other logs.

Maple Local

Maple Local keeps logs and traces for 30 days and metrics for 90, and lets you raise the floor for raw data. See Your data. To keep history longer, export it with archives.