Skip to main content

No project description provided

Project description

sentry-deduplicate-integration

Sentry integration to rate-limit duplicated errors, using redis to sync error count and identify duplications.

Add the integration to your sentry_sdk initialization.

import redis
from sentry_deduplicate_integration import SentryDeduplicateIntegration


sentry_sdk.init(
    integrations=[
        SentryDeduplicateIntegration(
            redis_factory=redis.Redis,
            max_events_per_minute=10,
        ),
    ],
)

The redis_factory arg is any function returning a redis client.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry_deduplicate_integration-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page