mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Introduced retentionDate column to Log, Metric, Span, and MonitorLog models for per-service data retention. - Implemented TTL configuration using retentionDate to enable automatic data deletion in ClickHouse. - Added skip indexes for improved query performance on relevant columns in Log, Span, Metric, and Exception models. - Updated ingestion services to compute and store retentionDate based on service-specific retention settings. - Created a data migration to add retentionDate columns and skip indexes to existing telemetry tables. - Deprecated the cron job for data deletion, transitioning to ClickHouse's native TTL mechanism.