Data Storage Strategies¶
As business applications increase, the scope of data monitoring needs continues to expand, and the requirements for the storage duration of different types of data will also be adjusted accordingly. TrueWatch provides various data storage strategies, allowing you to customize the storage duration of your data according to your needs, thereby effectively controlling data storage costs and saving expenses.
Data Storage Duration¶
Type |
Duration |
---|---|
Metrics | The global data retention policy for metrics. If you have specific data retention duration requirements for certain Measurements, you can make custom modifications through the Configuration Storage Strategy. 3 days / 7 days (default) / 14 days / 30 days / 180 days / 360 days |
Logs | 3 days / 7 days / 14 days (default) / 30 days / 60 days |
Data Forwarding-TrueWatch | 180 days (default) / 360 days / 720 days |
Events | 14 days (default) / 30 days / 60 days |
APM-Trace / Profile | 3 days / 7 days / 14 days (default) |
RUM | 3 days / 7 days / 14 days (default) |
Security Check | 3 days / 7 days / 14 days (default) / 30 days / 60 days |
Changing Storage Duration¶
Commercial Plan workspace owners can adjust the data storage strategy multiple times on the same day. Except for the first modification, which takes effect immediately, other modifications will take effect the next day according to the last adjustment record. After the strategy is changed, data will be judged for expiration based on the latest configuration and cleared at 0:00 the next day.
Steps to change:
- Go to Management > Workspace Settings > Change Data Storage Strategy;
- Click Change;
- Select the data type for which you want to modify the data storage strategy, and click Edit;
- Choose the desired duration;
- After making the changes, click Confirm to update the data storage duration in the current workspace.
Notes on Changes¶
-
Only Commercial Plan workspace owners are allowed to perform this operation;
-
After changing the metrics data storage strategy, data under the old storage strategy will be deleted. Please choose carefully.
-
After changing the data storage strategy for data other than metrics, the new retention strategy takes effect immediately. Data under the old storage strategy will not be deleted immediately and will still incur charges until the strategy rolls over to delete old data.
- Shortening data retention time: For example, if APM data is adjusted from 14 days to 7 days, data before the adjustment time will still be charged according to the 14-day storage strategy, while data after the adjustment will generate a new index and be charged according to the new 7-day storage strategy;
- Extending data retention time: For example, if APM data is adjusted from 7 days to 14 days, data before the adjustment time will still be charged according to the 7-day storage strategy, while data after the adjustment will generate a new index and be charged according to the new 14-day storage strategy.
For more details, refer to ES Multi-Tenant Lifecycle Management Practices.
Data Storage Options¶
TrueWatch provides two data storage solutions: Default Storage and SLS Storage:
- Default Storage: Uses TrueWatch's self-developed storage for metrics data, and Elasticsearch / OpenSearch for logs data;
- SLS Storage: Uses Alibaba Cloud Log Service SLS for data storage, with LogStore for logs data and MetricStore for metrics data.
For Free Plan¶
Billing Notes¶
-
The Free Plan defaults to a 7-day data storage strategy.
-
If the data quota for different billing items in the Free Plan is fully utilized, data will stop being updated; infrastructure and events data will still support updates, and you can still see the infrastructure list data and events data;
-
The Free Plan supports online upgrades to the Commercial Plan. No charges will be incurred if not upgraded, and once upgraded to a paid plan, it cannot be reverted;
-
After upgrading from the Free Plan to the Commercial Plan, collected data will continue to be reported to the workspace, but data collected during the Free Plan period will no longer be viewable;
-
Time Series and Data Forwarding statistics are based on full data, while other billing items are based on incremental data; incremental data statistics reset the free quota at 0:00 every day and are valid for the day.
TrueWatch supports starting for free, purchasing as needed, and paying based on usage, providing you with a cloud platform that is ready to use and enables comprehensive monitoring. The Free Plan offers a 7-day data storage strategy. If you need to change the data storage strategy, you must upgrade to the Commercial Plan to make the changes.
Billing Item |
Free Quota |
Data Storage Strategy |
Notes |
---|---|---|---|
Time Series Count | 3000 | 7 days | |
Logs Data Count | 1 million per day | 7 days | Data Scope: Events, Security Check, Logs (excluding Synthetic Tests logs data) |
Data Forwarding Data Count | / | / | ❌ |
APM Trace Count | 8000 per day | 7 days | |
APM Profile Count | 60 per day | 7 days | |
RUM PV Count | 2000 per day | 7 days | |
Session Replay Session Count | 1000 per day | 7 days | |
Synthetic Tests Task Count | 200,000 per day | 7 days | |
Trigger Count | 100,000 per day | / | |
SMS Send Count | / | / | ❌ |