Scrapy extension for integration of Sentry SDK to Scrapy projects
Project description
scrapy-sentry-sdk
A Scrapy extension for integration of Sentry SDK to Scrapy projects.
This package provides a Scrapy extension for convenient initialization of Sentry SDK.
To use it, first install the package:
pip install scrapy_sentry_sdk
The add the following to you project's settings.py
:
# Send exceptions to Sentry
# replace SENTRY_DSN by you own DSN
SENTRY_DSN = "XXXXXXXXXX"
# Enable or disable extensions
# See https://doc.scrapy.org/en/latest/topics/extensions.html
EXTENSIONS = {
'scrapy_sentry_sdk.extensions.SentryLogging': 1, # Load SentryLogging extension before others
}
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
Built Distribution
Close
Hashes for scrapy_sentry_sdk-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be35c74609cae4ce9be4489230bb876d4fe64f89f918b98d4cc21a62d51c002f |
|
MD5 | 2aeedd87dc33cf8230839ce47f6c994e |
|
BLAKE2b-256 | 0e5d42ff634aef81c8dc9eaa00c2efd003a7bd7948354da20de62d4fff344ed6 |