Data Storage Policy¶
As business applications increase, the scope of data observability requirements continues to expand, and the storage duration needs for different types of data will also adjust accordingly. Guance provides multiple data storage policies. You can customize your data retention period based on your needs, effectively controlling data storage costs and saving expenses.
Data Retention Period¶
Type |
Duration |
---|---|
Metrics | This is the global data retention policy for metrics. If you have special retention requirements for certain metric sets, you can customize them 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 |
APM - Traces / Profiles | 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 Retention Period¶
Owners of Commercial Plan workspaces can adjust data storage policies multiple times in a day. The first change takes effect immediately, while subsequent changes within the same day will take effect the next day according to the last adjustment record. After changing the policy, data will be evaluated for expiration based on the latest configuration and cleared at midnight the next day.
Steps to change:
- Go to Manage > Workspace Settings > Change Data Storage Policy;
- Click Replace;
- Select the data type whose storage policy you want to modify and click Edit;
- Choose the desired retention period;
- After making changes, click Confirm to update the data retention period for the current workspace.
Important Notes¶
- Only owners of Commercial Plan workspaces can perform this operation;
- After changing the Metrics data retention policy, old data under the previous policy will be deleted. Please choose carefully.
-
For changes in retention policies for data types other than Metrics, the new policy takes effect immediately, but old data under the previous policy will not be immediately deleted and will still incur charges until it is deleted according to the rolling deletion schedule.
- Shorter retention period: Suppose APM data changes from 14 days to 7 days. Before the change date, data is charged based on the 14-day policy; after the change date, new data will be indexed and charged based on the new 7-day policy.
- Longer retention period: Suppose APM data changes from 7 days to 14 days. Before the change date, data is charged based on the 7-day policy; after the change date, new data will be indexed and charged based on the new 14-day policy.
For more details, refer to Guance ES Multi-Tenant Lifecycle Management Practice.
Data Storage Methods¶
Guance offers two data storage solutions: Default Storage and SLS Storage:
- Default Storage: Uses Guance GuanceDB to store metrics data, and Elasticsearch / OpenSearch to store log data;
- SLS Storage: Uses Alibaba Cloud Log Service SLS to store data, with LogStore storing log data and MetricStore storing metrics data.
For Free Plan¶
Billing Information¶
- If any billing items in the Free Plan reach their data quota, data reporting will stop updating; infrastructure and event data will continue to report updates, so you can still see infrastructure list data and event data;
- The Free Plan supports online upgrades to the Commercial Plan. No charges are incurred unless upgraded. Once upgraded to a paid plan, rollback is not possible;
- After upgrading to the Commercial Plan, collected data will continue to report to the Guance workspace, but data collected during the Free Plan period will no longer be viewable;
- Time Series and data forwarding statistics are for all data, while other billing items are incremental data. Incremental data statistics reset the free quota at midnight each day and are valid for that day.
Guance supports a free start, pay-as-you-go billing method, providing an out-of-the-box cloud platform for comprehensive observability. The Free Plan offers a 7-day data retention policy. If you need to change the data retention policy, you must upgrade to the Guance Commercial Plan.
Billing Item |
Free Quota | Data Retention Policy |
Notes |
---|---|---|---|
Time Series Count | 3000 entries | 7 days | |
Log Data Count | 1 million/day | 7 days | Data Scope: Events, Security Check, Logs (excluding Synthetic Tests logs) |
Data Forwarding Count | / | / | ❌ |
APM Trace Count | 8000/day | 7 days | |
APM Profile Count | 60/day | 7 days | |
RUM PV Count | 2000/day | 7 days | |
Session Replay Count | 1000/day | 7 days | |
Synthetic Tests Count | 200k/day | 7 days | |
Trigger Call Count | 100k/day | / | |
SMS Sending Count | / | / | ❌ |