mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-26 15:07:04 -05:00
Add automated data retention cleanup
Implements edge function, Django tasks, and UI hooks/panels for automatic retention of old metrics, anomalies, alerts, and incidents, plus updates to query keys and monitoring dashboard to reflect data-retention workflows.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- Fix security warnings: Set search_path for all retention policy functions
|
||||
|
||||
ALTER FUNCTION cleanup_old_metrics(INTEGER) SET search_path = public;
|
||||
ALTER FUNCTION cleanup_old_anomalies(INTEGER) SET search_path = public;
|
||||
ALTER FUNCTION cleanup_old_alerts(INTEGER) SET search_path = public;
|
||||
ALTER FUNCTION cleanup_old_incidents(INTEGER) SET search_path = public;
|
||||
ALTER FUNCTION run_data_retention_cleanup() SET search_path = public;
|
||||
Reference in New Issue
Block a user