The data storage times of the data mart tables can be defined by going to Settings > Data storage.

These values affect how much data mart history data is available in the reports. The minimum storage time is 1 month.
The data storage times of log tables depend on the table and in some cases cannot be changed. Their storage times are shown here for informative purposes only:
- Server-level counters: 5 weeks
- Instance-level counters: 5 weeks
- Database-level counters: 2 weeks
- Plan cache: configurable through settings
- Wait statistics: configurable through settings
- Blocks: configurable through settings
- Availability groups: 48 hours
- Trace: 1 week
- SLAs: 1 week
- Alerts: 1 week
- Volumes: 1 week
- Datafiles: 1 week