| Name | sentry-deduplicate-integration JSON | 
            
| Version | 
                  0.1.0
                   
                  JSON | 
            
 | download  | 
            
| home_page |   | 
            
| Summary |  | 
            | upload_time | 2022-12-15 19:43:58 | 
            | maintainer |  | 
            
            | docs_url | None | 
            | author | Iuri de Silvio | 
            
            | requires_python | >=3.10,<4.0 | 
            
            
            | license |  | 
            | keywords | 
                 | 
            | VCS | 
                
                    | 
                
            
            | bugtrack_url | 
                
                 | 
             
            
            | requirements | 
                
                  No requirements were recorded.
                
             | 
            
| Travis-CI | 
                
                   No Travis.
                
             | 
            | coveralls test coverage | 
                
                   No coveralls.
                
             | 
        
        
            
            # 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.
```python
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.
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": "",
    "name": "sentry-deduplicate-integration",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Iuri de Silvio",
    "author_email": "iurisilvio@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c9/27/1e04c21811d393b8534ff7cb5eace07cb63a34e21f27343d303548604c42/sentry_deduplicate_integration-0.1.0.tar.gz",
    "platform": null,
    "description": "# sentry-deduplicate-integration\n\nSentry integration to rate-limit duplicated errors, using redis to sync error\ncount and identify duplications.\n\nAdd the integration to your sentry_sdk initialization.\n\n```python\nimport redis\nfrom sentry_deduplicate_integration import SentryDeduplicateIntegration\n\n\nsentry_sdk.init(\n    integrations=[\n        SentryDeduplicateIntegration(\n            redis_factory=redis.Redis,\n            max_events_per_minute=10,\n        ),\n    ],\n)\n```\n\nThe `redis_factory` arg is any function returning a redis client.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.1.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "bf8eb411ff313f4dfe773136c750a6d6",
                "sha256": "89657fa051f3ee2b88899a47f8db446f8d9de7d6d5aab3ed1913aeaa91546061"
            },
            "downloads": -1,
            "filename": "sentry_deduplicate_integration-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bf8eb411ff313f4dfe773136c750a6d6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 3534,
            "upload_time": "2022-12-15T19:43:57",
            "upload_time_iso_8601": "2022-12-15T19:43:57.204829Z",
            "url": "https://files.pythonhosted.org/packages/8b/fb/559d5fe8c4985469c34f9aee1ff0886fcc122b3a79f58aa8afa526c49faa/sentry_deduplicate_integration-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "28d2c9f83fd698fb326b969c11082a4b",
                "sha256": "82c0461eac28d2432a4ea8250e5a86036d06acbffe1fc3d375cca52e269b531f"
            },
            "downloads": -1,
            "filename": "sentry_deduplicate_integration-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "28d2c9f83fd698fb326b969c11082a4b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 2725,
            "upload_time": "2022-12-15T19:43:58",
            "upload_time_iso_8601": "2022-12-15T19:43:58.824051Z",
            "url": "https://files.pythonhosted.org/packages/c9/27/1e04c21811d393b8534ff7cb5eace07cb63a34e21f27343d303548604c42/sentry_deduplicate_integration-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-15 19:43:58",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "sentry-deduplicate-integration"
}