Excluding a project from sentry cleanup

Greetings, We have about 25 projects in our on premise sentry deployment on our Kubernetes cluster and we use sentry cronjob to discard events older than a month, everything works well.

Now we have the need for excluding a single project form the clean up job, but it seems like the sentry cleanup command will only accept a single project entry.

sentry cleanup --days DAYS --project TEXT

Is this possible to exclude a project using regex? otherwise I need to run 24 cronjob’s with individual project Ids, skipping the one that needs to be excluded. :slightly_frowning_face:


Hi @prasad, sorry for the late reply. I asked around but we don’t seem to have such a feature, sorry :frowning:

/cc @fpacifici if I’m not remembering correctly.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.