Changing performance data expiration times
Performance data stored in OpsCenter expires after configurable time periods.
cluster_name.conf
The location of the cluster_name.conf file depends on the type of installation:
- Installer-Services or package installations: /etc/opscenter/clusters/cluster_name.conf
- Installer-No Services or tarball installations: install_location/conf/clusters/cluster_name.conf
- Windows installations: Program Files (x86)\DataStax Community\opscenter\conf\clusters\cluster_name.conf
Performance data stored in OpsCenter expires after configurable time periods. The default values are designed to provide efficient compaction and eventual deletion of the data, with faster expiration times for the more granular, larger-volume data roll-ups.
- One-minute roll-ups (1min_ttl) expire after one week, or 604800 seconds.
- Five-minute roll-ups (5min_ttl) expire after four weeks, or 2419200 seconds.
- Two-hour roll-ups (2hr_ttl) expire after one year, or 31536000 seconds.
To change expiration time period:
In this example, the one-minute and five-minute roll-ups are set to expire twice as fast as the defaults, and two-hour roll-ups are set to be kept indefinitely (expiration is disabled).