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 details)

Uploaded Source

Built Distribution

File details

Details for the file sentry_deduplicate_integration-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sentry_deduplicate_integration-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82c0461eac28d2432a4ea8250e5a86036d06acbffe1fc3d375cca52e269b531f
MD5 28d2c9f83fd698fb326b969c11082a4b
BLAKE2b-256 c9271e04c21811d393b8534ff7cb5eace07cb63a34e21f27343d303548604c42

See more details on using hashes here.

File details

Details for the file sentry_deduplicate_integration-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_deduplicate_integration-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89657fa051f3ee2b88899a47f8db446f8d9de7d6d5aab3ed1913aeaa91546061
MD5 bf8eb411ff313f4dfe773136c750a6d6
BLAKE2b-256 8bfb559d5fe8c4985469c34f9aee1ff0886fcc122b3a79f58aa8afa526c49faa

See more details on using hashes here.

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