Skip to main content

Sentry component for Scrapy

Project description

scrapy-sentry
=============

Logs Scrapy exceptions into Sentry

A python library that glues [Sentry](http://www.getsentry.com) with [Scrapy](http://www.scrapy.org).
Any spider errors will get pushed to Sentry. Please note that currently, exceptions anywhere else (e.g. the Scrapy pipeline)
are not being reported to Sentry.


Requisites:
-----------

* [Sentry server](http://www.getsentry.com/)

Installation
------------

```
pip install scrapy-sentry
```

Setup
-----

Add `SENTRY_DSN` and `scrapy_sentry.extensions.Errors` extension to your Scrapy Project `settings.py`.

Example:

```
# sentry dsn
SENTRY_DSN = 'http://public:secret@example.com/1'
EXTENSIONS = {
"scrapy_sentry.extensions.Errors":10,
}

```

Supported versions
------------------
This package works with Python 2.7, 3.4 and 3.5. It has been tested with Scrapy up to version 1.2.1.

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

scrapy-sentry-0.9.0.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file scrapy-sentry-0.9.0.tar.gz.

File metadata

  • Download URL: scrapy-sentry-0.9.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scrapy-sentry-0.9.0.tar.gz
Algorithm Hash digest
SHA256 4c78e0fb5a5940639f11ae2a1fb28d4ea1a41180d88289efc6d8e39e1e14227f
MD5 84daf4966dcc15810fc506174622429b
BLAKE2b-256 f3c29471002c29ea2996e94d321502276dceed1dd74226eff37576480a583edb

See more details on using hashes here.

Supported by

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