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.

Source Distribution

sentry-zabbix-0.0.11.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

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