Skip to content

barsi/odoo_sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo Sentry connector

an Odoo V8.0 module that connects your odoo deployment with sentry

Screen shot

Installation

On Odoo server

you need to install raven or make it available on odoo's python path. sudo pip install raven

Configure a sentry project

first you need to install Sentry or buy a hosted service from them.

login to your sentry account and create new project, go to project settings and copy dsn data source name. open your Odoo config file and put a new config option sentry_client_dsn equal to dsn of your project.

now restart odoo server and install odoo_sentry module.

go to your sentry project and open Stream tab, you will see a message titled Starting Odoo Server. congratulation.

Other options are available to extends log level details (odoo-sentry-sample.conf):

  • sentry_enable_logging: default false. set it to true will capture all logging that are logged through python standard logging module.
  • sentry_allow_orm_warning: default false. enabling this will capture Odoo's warning exceptions (e.g. except_osv, openerp.exceptions.Warning).
  • sentry_include_context: default false. this will add details about the odoo user that triggers specific event, plus database name, will displayed in Sentry additional info.

License

This project is licensed under AGPL v3 (the same as odoo).

About

Odoo (OpenERP) module for connecting odoo to sentry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages