Rate limitting duplicate errors

We have integrated sentry.io in various python applications running on Docker. The Docker containers are set to automatically restart when they crash.

If something goes wrong during the startup process of the container, this sometimes sends several thousand duplicate errors to sentry, quickly filling up our quota.

Is there a way to discard duplicate entries on the server side to prevent this?