Skip to main content

Sentry support for CKAN

Project description

The Sentry CKAN extension allows to add a Sentry middleware to the CKAN and stack and optionally configure a Sentry log handler.

This extension builds on top of the previous work of:


To install the extension, activate your virtualenv and run:

pip install ckanext-sentry

Alternative, you can install a development version with:

git clone
cd ckanext-sentry
python develop
pip install -r requirements.txt


To activate the plugin, add sentry to the ckan.plugins key in your ini file:

ckan.plugins = sentry <other-plugins>

You must provide a Sentry DSN:

sentry.dsn =

You can see a full list of supported options for the Sentry client on the official Raven documentation.

If you want Sentry to record your log messages, you can turn it on adding the following options:


The default log level if not provided in the configuration is INFO.

All these configuration options can also be passed via environment variables:


The configuration also supports env vars named like the ckanext-envvars extension convention (eg CKAN___SENTRY__LOG_LEVEL).

Download files

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

Files for ckanext-sentry, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ckanext-sentry-0.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page