Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
30
sentry/readme/CONFIGURE.md
Executable file
30
sentry/readme/CONFIGURE.md
Executable file
@@ -0,0 +1,30 @@
|
||||
The following additional configuration options can be added to your Odoo
|
||||
configuration file:
|
||||
|
||||
[TABLE]
|
||||
|
||||
Other [client
|
||||
arguments](https://docs.sentry.io/platforms/python/configuration/) can
|
||||
be configured by prepending the argument name with *sentry\_* in your
|
||||
Odoo config file. Currently supported additional client arguments are:
|
||||
`with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, send_default_pii, http_proxy, https_proxy, request_bodies, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations`.
|
||||
|
||||
## Example Odoo configuration
|
||||
|
||||
Below is an example of Odoo configuration file with *Odoo Sentry*
|
||||
options:
|
||||
|
||||
[options]
|
||||
sentry_dsn = https://<public_key>:<secret_key>@sentry.example.com/<project id>
|
||||
sentry_enabled = true
|
||||
sentry_logging_level = warn
|
||||
sentry_exclude_loggers = werkzeug
|
||||
sentry_ignore_exceptions = odoo.exceptions.AccessDenied,
|
||||
odoo.exceptions.AccessError,odoo.exceptions.MissingError,
|
||||
odoo.exceptions.RedirectWarning,odoo.exceptions.UserError,
|
||||
odoo.exceptions.ValidationError,odoo.exceptions.Warning,
|
||||
odoo.exceptions.except_orm
|
||||
sentry_include_context = true
|
||||
sentry_environment = production
|
||||
sentry_release = 1.3.2
|
||||
sentry_odoo_dir = /home/odoo/odoo/
|
||||
8
sentry/readme/CONTRIBUTORS.md
Executable file
8
sentry/readme/CONTRIBUTORS.md
Executable file
@@ -0,0 +1,8 @@
|
||||
- Mohammed Barsi \<<barsintod@gmail.com>\>
|
||||
- Andrius Preimantas \<<andrius@versada.eu>\>
|
||||
- Naglis Jonaitis \<<naglis@versada.eu>\>
|
||||
- Atte Isopuro \<<atte.isopuro@avoin.systems>\>
|
||||
- Florian Mounier \<<florian.mounier@akretion.com>\>
|
||||
- Jon Ashton \<<jon@monkeyinferno.com>\>
|
||||
- Mark Schuit \<<mark@gig.solutions>\>
|
||||
- Atchuthan \<<atchuthan@sodexis.com>\>
|
||||
1
sentry/readme/CREDITS.md
Executable file
1
sentry/readme/CREDITS.md
Executable file
@@ -0,0 +1 @@
|
||||
- Vauxoo
|
||||
2
sentry/readme/DESCRIPTION.md
Executable file
2
sentry/readme/DESCRIPTION.md
Executable file
@@ -0,0 +1,2 @@
|
||||
This module allows painless [Sentry](https://sentry.io/) integration
|
||||
with Odoo.
|
||||
11
sentry/readme/INSTALL.md
Executable file
11
sentry/readme/INSTALL.md
Executable file
@@ -0,0 +1,11 @@
|
||||
The module can be installed just like any other Odoo module, by adding
|
||||
the module's directory to Odoo *addons_path*. In order for the module to
|
||||
correctly wrap the Odoo WSGI application, it also needs to be loaded as
|
||||
a server-wide module. This can be done with the `server_wide_modules`
|
||||
parameter in your Odoo config file or with the `--load` command-line
|
||||
parameter.
|
||||
|
||||
This module additionally requires the sentry-sdk Python package to be
|
||||
available on the system. It can be installed using pip:
|
||||
|
||||
pip install sentry-sdk
|
||||
11
sentry/readme/ROADMAP.md
Executable file
11
sentry/readme/ROADMAP.md
Executable file
@@ -0,0 +1,11 @@
|
||||
- **No database separation** -- This module functions by intercepting
|
||||
all Odoo logging records in a running Odoo process. This means that
|
||||
once installed in one database, it will intercept and report errors
|
||||
for all Odoo databases, which are used on that Odoo server.
|
||||
- **Frontend integration** -- In the future, it would be nice to add
|
||||
Odoo client-side error reporting to this module as well, by
|
||||
integrating [raven-js](https://github.com/getsentry/raven-js).
|
||||
Additionally, [Sentry user feedback
|
||||
form](https://docs.sentry.io/learn/user-feedback/) could be integrated
|
||||
into the Odoo client error dialog window to allow users shortly
|
||||
describe what they were doing when things went wrong.
|
||||
5
sentry/readme/USAGE.md
Executable file
5
sentry/readme/USAGE.md
Executable file
@@ -0,0 +1,5 @@
|
||||
Once configured and installed, the module will report any logging event
|
||||
at and above the configured Sentry logging level, no additional actions
|
||||
are necessary.
|
||||
|
||||
[](https://runbot.odoo-community.org/runbot/149/14.0)
|
||||
Reference in New Issue
Block a user