Author: |
Mohammed Barsi |
License: |
no license |
Branch: |
rename-manifest |
Repository: |
aisopuro/odoo_sentry |
Dependencies: |
base,
report,
and
web |
Languages: |
Markdown (20, 21.1%),
and
Python (75, 78.9%) |
Other branches: |
8.0,
and
master |
Other repositories: |
VitalPet/odoo_sentry,
XaviTorello/odoo_sentry,
andrius-preimantas/odoo_sentry,
anybox/odoo_sentry,
avoinsystems/odoo_sentry,
barsi/odoo_sentry,
eng-george1/odoo_sentry,
kkoci/odoo_sentry,
kossovo/odoo_sentry,
lonelyleaves/odoo_sentry,
n37r06u3/odoo_sentry,
ovnicraft/odoo_sentry,
sc4you/odoo_sentry,
theoo/odoo_sentry,
unionindustry/odoo_sentry,
versada/odoo_sentry,
vice-versa/odoo_sentry,
and
vishalkpatel86/odoo_sentry |
<h1>Odoo Sentry connector</h1>
<p>an Odoo v10.0 module that connects your odoo deployment with <a href="https://www.getsentry.com">sentry</a></p>
<p><img src="screenshot.png?raw=true" alt="Screen shot" title="Sample Screen"></p>
<h2>Installation</h2>
<h3>On Odoo server</h3>
<p>you need to install raven or make it available on odoo's python path.
<code>sudo pip install raven</code></p>
<h3>Configure a sentry project</h3>
<p>first you need to <a href="http://sentry.readthedocs.org/en/latest/">install</a> Sentry or <a href="https://www.getsentry.com/pricing/">buy</a> a hosted service from them.</p>
<p>login to your sentry account and create new project, go to project settings and copy <code>dsn</code> <em>data source name</em>.
open your Odoo config file and put a new config option <code>sentry_client_dsn</code> equal to dsn of your project.</p>
<p>now restart odoo server and install <code>odoo_sentry</code> module.</p>
<p>go to your sentry project and open <code>Stream</code> tab, you will see a message titled <em>Starting Odoo Server</em>. congratulation.</p>
<p>Other options are available to extends log level details (<a href="odoo-sentry-sample.conf">odoo-sentry-sample.conf</a>):</p>
<ul>
<li><code>sentry_enable_logging</code>: <em>default <code>false</code></em>. set it to true will capture all logging that are logged through python standard logging module.</li>
<li><code>sentry_allow_orm_warning</code>: <em>default <code>false</code></em>. enabling this will capture Odoo's warning exceptions (e.g. <code>except_osv</code>, <code>openerp.exceptions.Warning</code>).</li>
<li><code>sentry_include_context</code>: <em>default <code>false</code></em>. this will add details about the odoo user that triggers specific event, plus database name, will displayed in Sentry additional info.</li>
<li><code>sentry_error_level</code>: <em>default <code>warning</code></em>. select the minimum logging level that should be propagated to Sentry.</li>
</ul>
<h3>License</h3>
<p>This project is licensed under <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL v3</a>.</p>