Skip to main content

A Sentry extension which send errors stats to Zabbix

Project description

An extension for Sentry to send event counts to Zabbix; shamelessly based on sentry-statsd. This will send keys formatted like <prefix>.<level>[<project>] (e.g. sentry.error[my-thing]), which will need to be configured as items in Zabbix.

Why you may not want this

Because plugins don’t get executed when you mark a group as resolved, I had to resort to an ugly hack: hook on the post_save signal for Group; it’s still decoupled from the UI code (the signal just fires the plugin_post_process_group task), but it’s definitely not elegant.

Install

Install the package with pip:

pip install sentry-zabbix

Configuration

Go to your project’s configuration page (Projects -> [Project]) and select the “Zabbix” tab. Enter the Zabbix host, port and prefix for metrics:

https://github.com/m0n5t3r/sentry-zabbix/raw/master/docs/images/options.png

After installing and configuring, make sure to restart sentry-worker and sentry-web for the changes to take effect.

Project details


Download files

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

Files for sentry-zabbix, version 0.0.12
Filename, size File type Python version Upload date Hashes
Filename, size sentry-zabbix-0.0.12.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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