Data retention
Your organization keeps its reservations and settlements, with their labels, for its retention window. On Attune's hosted Tidegate, the window is your plan's; on a Tidegate you run yourself, it is forever unless your operator sets one. Everything else stays while your organization does: its apps, meters, prices, budgets, API keys, people, and its history.
What is deleted, and when
Once an hour, Tidegate deletes each reservation whose window has passed, with its settlement. Two rules keep some longer:
- This month and last month stay whole. A reservation is kept until the calendar month after the one it was made in has ended, in every time zone, however short the window, so a month's spend can always be read in full the month after, wherever you are.
- A budget's current window keeps everything it counts. A reservation that any budget still counts in its current window, archived budgets included, is kept until that window ends, so a budget's spend never drops while it is judging new reservations against its limit. A budget with a long window, such as a year, keeps its year's reservations, however short the retention window.
Deleting can't be undone. A reservation is deleted with its id, so a reservation retried with the id of one already deleted is a new reservation; services retry within minutes, never months.
Kept since
Your organization's spend is kept from a moment Tidegate records, which moves forward as older reservations are deleted. Reports start there:
- The Spend page says where it is when the range you chose reaches back before it. Spend before it shows as nothing, because nothing is known of it, not because nothing was spent.
- Agents'
spend_reporttool, and the API's spend report, return it askeptSince, and count nothing before it. The API also answers it on its own, atGET /tenants/{tenant}/retention.
keptSince is null until your organization has a retention window and the hourly purge has run
under it. From then on, nothing before it is kept, whether or not there was anything there to
delete.