What the gateway stores
The gateway has no retention setting of its own. Each record it produces lives in a platform store, and that store’s rule applies.Traces follow the data retention policy
Set the policy under Settings > Data Retention. A policy applies to an organization, a team or a project, and the most specific one wins. Periods are whole weeks. You can apply a new policy to data that is already stored.Retention is scoped per organization, team, and project, never per ingestion source. Compliance
notes that describe a per-source retention class map onto these scoped policies instead.