What is the proper way to clean docker volumes for sentry

Our sentry on-Premise running on docker consumes too much space and earlier running docker volume prune cleared around 9GB from kafka but after that kafka container messed up, that issue I solved somehow but i need to know how can i clean up space safely.
Here is the ncdu output of max space-consuming directories.sentryvolume sentrypostgres16-20-09

Thanks

I’m not sure what you’re asking. That volume you’re pointing out is Postgres, one of the primary data stores. You can delete data there and lose stuff, but Sentry is generally going to require a lot of space. 25GB is just a tiny amount. Generally installs can be multiple TB.

Thanks for the revert, I just wanted to know if we can clear out some space without losing important stuff, like what if i just want to clear all the logged issues to point where they are no longer required and secondly I dont know what that overlay directory is for? Its consuming space too.

Thanks