Skip to main content

Scrapy integration with Sentry SDK (unofficial)

Project description

# sentry-scrapy

[![Build Status](https://travis-ci.org/m-vdb/sentry-scrapy.svg?branch=master)](https://travis-ci.org/m-vdb/sentry-scrapy)
[![Coverage Status](https://coveralls.io/repos/github/m-vdb/sentry-scrapy/badge.svg?branch=master)](https://coveralls.io/github/m-vdb/sentry-scrapy?branch=master)
[![Pypi version](https://img.shields.io/pypi/v/sentry-scrapy.svg)](https://pypi.python.org/pypi/sentry-scrapy)

Scrapy integration with latest Sentry SDK


## Requirements

- Python3
- [`Scrapy`](https://docs.scrapy.org/en/latest/)
- [`sentry-sdk`](https://docs.sentry.io/quickstart?platform=python)

## Installation

Install with `pip`:

```bash
$ pip install sentry-scrapy
```

And in your Scrapy settings, configure Sentry as follows:

```python

# configure the extensions
# https://doc.scrapy.org/en/latest/topics/extensions.html
EXTENSIONS = {
"sentry_scrapy.extension.SentryExtension": 10,
}

# initialize Sentry
# https://docs.sentry.io/quickstart?platform=python
import sentry_sdk
sentry_sdk.init(dsn='your dsn')
```

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-scrapy-0.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sentry-scrapy-0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for sentry-scrapy-0.2.tar.gz
Algorithm Hash digest
SHA256 9669ddd2daf9ff8d76d205d70ac6538a82f2336c651791b0a215148e054b5a57
MD5 6643fe5755542e16aebd92f9d4df1023
BLAKE2b-256 07dfc7ec1697927c26b624895a35e061500edcba9437fce75c57a8957a8fcc0d

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