Closed
Description
We noticed a drastic uptick in latency for a few key endpoints that utilize the cache (redis) starting on May 8th. After looking through what we deployed we noticed an update to sentry-sdk
from 1.21.1
to 1.22.1
. After looking at the change log the "add some overhead to your server" comment stood out and so we reverted this upgrade yesterday and the endpoint normalized.
This is our sentry init if it helps:
sentry.init(
before_send=event_filter,
dsn=settings.SENTRY_DSN if get_environment() in ['production', 'staging'] else '',
environment=get_environment(),
integrations=[CeleryIntegration(), DjangoIntegration(), RedisIntegration(), SqlalchemyIntegration()],
release=get_release(),
send_default_pii=True,
)
Originally posted by @dvprz in #2116 (comment)