Overslaan naar inhoud
Icône de Sentry

Sentry

door OCA
Gratis 19.0 — à porter Module Kwaliteitscontrole: Geverifieerd AGPL-3

Report Omnifloo errors to Sentry

Beschrijving in het Engels

Sentry

This module allows painless Sentry integration with Omnifloo.

Table of contents

Installation

The module can be installed just like any other Omnifloo module, by adding the module’s directory to Omnifloo addons_path. In order for the module to correctly wrap the Omnifloo 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 Omnifloo 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

Configuration

The following additional configuration options can be added to your Omnifloo configuration file:

[TABLE]

Other client arguments can be configured by prepending the argument name with sentry_ in your Omnifloo 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 Omnifloo configuration

Below is an example of Omnifloo configuration file with Omnifloo Sentry options:

[options]
(...)
server_wide_modules = web,sentry
[sentry]
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
sentry_startup_message = true

Usage

Once configured and installed, the module will report any logging event at and above the configured Sentry logging level, no additional actions are necessary.

Known issues / Roadmap

  • No database separation – This module functions by intercepting all Omnifloo logging records in a running Omnifloo process. This means that once installed in one database, it will intercept and report errors for all Omnifloo databases, which are used on that Omnifloo server.
  • Frontend integration – In the future, it would be nice to add Omnifloo client-side error reporting to this module as well, by integrating raven-js. Additionally, Sentry user feedback form could be integrated into the Omnifloo client error dialog window to allow users shortly describe what they were doing when things went wrong.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Mohammed Barsi
  • Versada
  • Nicolas JEUDY
  • Vauxoo

Contributors

Other credits

  • Vauxoo

Maintainers

This module is maintained by the OCA.

OCA, or the OCA, is a nonprofit organization whose mission is to support the collaborative development of Omnifloo features and promote its widespread use.

Current maintainers:

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit lien externe.

Wat deze app niet doet

  • No database separation – This module functions by intercepting all Omnifloo logging records in a running Omnifloo process. This means that once installed in one database, it will intercept and report errors for all Omnifloo databases, which are used on that Omnifloo server.
  • Frontend integration – In the future, it would be nice to add Omnifloo client-side error reporting to this module as well, by integrating raven-js. Additionally, Sentry user feedback form could be integrated into the Omnifloo client error dialog window to allow users shortly describe what they were doing w

Vereiste applicaties van de appstore

Geen.

Gebruikte standaardmodules

base

Python-bibliotheken

sentry_sdk>=2.0.0,<=2.22.0

SerieVersieStatusGepubliceerd op
19.019.0.1.0.1 In ontwikkeling 23-09-2026

App-pagina gegenereerd vanuit julien2364/omnifloo-oca-server-tools (branch 19.0, commit d553ae4db4e6).

Automatische controle van de appstore (los van de uitgever), toegepast op alle applicaties. Conforme.

ControleResultaatEffect indien afwezig
Manifeste lisible sans exécution conforme bloquant
Licence reconnue (AGPL-3) conforme bloquant
Aucune dépendance vers l'édition Enterprise conforme bloquant
Aucun import de code Enterprise conforme bloquant
Aucun en-tête de licence Enterprise conforme bloquant
Version normalisée (19.0.1.0.1) conforme info
Icône static/description/icon.png conforme déclasse
Description (static/description/index.html ou README) conforme déclasse
Tests automatisés (tests/test_*.py) conforme déclasse
Traduction française (i18n/fr.po) absent info
Section « Ce que le module ne fait pas » conforme info
Titre de 70 caractères au plus (6 actuellement) conforme info
Résumé en français conforme info

Beoordelingen van ingelogde klanten. Eén beoordeling per klant; de uitgever kan erop reageren. Log in om een beoordeling te plaatsen.

Uitgever
OCA
Een probleem melden
https://github.com/OCA/server-tools
Omnifloo-klanten
Support inbegrepen volgens uw formule: neem contact op met support.