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.

Release history Release notifications

This version
History Node

0.8.0

History Node

0.7.0

History Node

0.6.1

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
scrapy-sentry-0.8.0.tar.gz (10.8 kB) Copy SHA256 hash SHA256 Source None Nov 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page