We installed sentry in our datacenter. To comply with data protection, we want to remove user data older than 90 days. Therefore, we added a daily job which executes
sentry cleanup --days 90 on the server.
sentry cleanup needs to be run on the server and is not a command of
sentry-cli. This is cumbersome for us and probably for a lot more users as well because we need to
ssh into the sentry host and run the script there.
I think it would be great if there was an input field in the settings which defines the number of days to keep user data. The cron job could execute it daily.
If this is not feasible, I could imagine having a
sentry-cli command for that.
I’d like to help and implement either of those options, preferably the user interface approach. Before I look in the source code I want to know if this has been discussed in the past and what the general opinion on such feature is. Maybe some of the maintainers can give me information regarding this topic.