Skip to main content

Sentry Integration for the Tryton Framework

Project description

Sentry integration for the Tryton application framework.

This module creates a new LoggingHandler for registering tryton exceptions on sentry. This exception will get some information available on tryton:

  • Info about the current user
  • The list of modules activated and it’s verions.
  • The database name
  • The backend name
  • The request context

It also allows to define a custom error message and description that will be sent to the user instead of showing the full traceback.

Usage

The trytond-logconf.cfg provides an example config file for using this handler. You only have to specify your sentry dsn on the first arg of the sentry handler. Once you have modified this file just lunch your trytond with:

trytond --logconf trytond-logconf.cfg

Issues

Feel free to open Issues on the bitbucket issue tracker if you have some problems with the software or do you want to discuss some posible improvements.

Pull Request are very welcomme also!

Support

You can send me and email on sergi@koolpi.com if you encounter any problems. I will try to reply ASAP, but it may take some time to get a reply, so please be patient.

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-tryton, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size sentry_tryton-0.4-py2.py3-none-any.whl (15.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size sentry_tryton-0.4.tar.gz (3.2 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page