Now that delete_logs_safely writes node exporter metrics for the "max raw mtime archived" as seen from scraper-sync we can create end-to-end alerts on the correct operation of scraper-sync and delete logs safely.
Something like:
(time() - scraper_maxrawfiletimearchived)
AND ON(machine, experiment, rsync_module)
(time() - delete_logs_safely)
Now that delete_logs_safely writes node exporter metrics for the "max raw mtime archived" as seen from scraper-sync we can create end-to-end alerts on the correct operation of scraper-sync and delete logs safely.
Something like: