After enabling pt-agent daemon our server is producing large amount of slow query logs. Unfortunately after sending data to Percona Cloud servers, logs are rotated with current timestamp and not deleted. This is quite big problem as logs are stored on SSD drive. I wonder why there’s no option in pt-agent to delete unneeded logs?
I could write cron script to delete old logs, but there’s another question if it’s safe to delete all rotated logs or maybe the latest file may be still processed by some tool.