Data Storage Strategy¶
As the number of business applications increases, the scope of data observation needs expands, and the demand for storage duration of different types of data will also adjust accordingly. Guance provides multiple data storage strategies. You can customize your data retention period according to your needs, thereby effectively controlling data storage costs and saving expenses.
Data Retention Period¶
Type |
Duration |
---|---|
Metrics | This is the global data retention strategy for metrics. If you have special data retention requirements for certain Measurements, you can make custom modifications via Configure Storage Policy. 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 - Guance | 180 days (default) / 360 days / 720 days |
Events | 14 days (default) / 30 days / 60 days |
Application Performance - APM / Profile | 3 days / 7 days / 14 days (default) |
RUM PV | 3 days / 7 days / 14 days (default) |
Security Check | 3 days / 7 days / 14 days (default) / 30 days / 60 days |
Changing the Storage Duration¶
The owner of a Commercial Plan workspace can adjust the data storage strategy multiple times on the same day. On the same day, except for the first modification which takes effect immediately, other modification operations will take effect the next day based on the last adjustment record. After the policy change, the data will be evaluated for expiration according to the latest configuration and cleared at 0 o'clock the next day.
Steps to change:
- Enter Manage > Workspace Settings > Change Data Storage Policy;
- Click Replace;
- Select the type of data whose storage strategy needs modification, click Edit;
- Choose the desired duration;
- After completing the changes, click Confirm, which will change the data storage duration within the current workspace.
Things to Note When Changing¶
- Only the owner of a Commercial Plan workspace can perform this operation;
- After changing the storage strategy for Metrics data, the old data in the previous storage strategy will be deleted. Please select carefully.
-
For all other data storage strategy changes besides Metrics data, the new retention policy takes effect immediately, and the old storage strategy's data will not be immediately deleted but remains until it is removed by the rolling deletion strategy, still counting towards billing during this period.
- Shortened data retention: Suppose application performance data changes from 14 days to 7 days, with the time of adjustment as the boundary. Data before this point continues to follow the 14-day storage strategy for billing purposes, while data after this point generates a new index and follows the new 7-day storage strategy for billing purposes;
- Extended data retention: Suppose application performance data changes from 7 days to 14 days, with the time of adjustment as the boundary. Data before this point continues to follow the 7-day storage strategy for billing purposes, while data after this point generates a new index and follows the new 14-day storage strategy for billing purposes.
For more details, refer to ES Multi-Tenant Lifecycle Management Practice.
Data Storage Methods¶
Guance offers two data storage solutions: Default Storage and SLS Storage:
- Default Storage: Using Guance's proprietary storage for metric data, Elasticsearch / OpenSearch stores log data;
- SLS Storage: Uses Alibaba Cloud Log Service SLS to store data, where LogStore stores log data and MetricStore stores metric data.
Regarding Free Plan¶
Billing Notes¶
- If the free plan reaches its full data quota for any billed item, data reporting updates will stop; infrastructure and event data continue to support updates, so you can still see infrastructure list data and event data;
- The Free Plan supports upgrading online to the Commercial Plan. No charges are incurred if you do not upgrade, but once upgraded to a paid version, there is no rollback option;
- 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 account for total data, other billed items count incremental data; incremental data statistics reset the free quota at 0 o'clock each day, valid for that day only.
Guance supports starting for free, purchasing as needed, and paying per usage, providing an out-of-the-box cloud platform for comprehensive observability. The Free Plan offers a 7-day data retention strategy. If you need to change the data retention strategy, you must upgrade to the Commercial Plan to make changes.
Billed Item |
Free Quota | Data Retention Strategy |
Notes |
---|---|---|---|
Time Series quantity | 3000 entries | 7 days | |
Log data quantity | 1 million entries daily | 7 days | Data Scope: Events, Security Checks, Logs (excluding logs from Synthetic Tests) |
Data Forwarding quantity | / | / | ❌ |
APM Trace quantity | 8000 daily | 7 days | |
APM Profile quantity | 60 daily | 7 days | |
RUM PV quantity | 2000 daily | 7 days | |
Session Replay Sessions quantity | 1000 daily | 7 days | |
Synthetic Testing task executions | 200,000 daily | 7 days | |
Trigger executions | 100,000 daily | / | |
SMS sending quantity | / | / | ❌ |