In SkyWalking, there are two types of observability data, besides metadata.
- Record, including trace and alarm. Maybe log in the future.
- Metric, including such as percentile, heat map, success rate, cpm(rpm) etc.
You have following settings for different types.
# Set a timeout on metrics data. After the timeout has expired, the metrics data will automatically be deleted.
recordDataTTL: ${SW_CORE_RECORD_DATA_TTL:3} # Unit is day
metricsDataTTL: ${SW_CORE_RECORD_DATA_TTL:7} # Unit is day
recordDataTTL
affects Record data, including tracing and alarm.metricsDataTTL
affects all metrics, including service, instance, endpoint metrics and topology map metrics.