{
"info": {
"author": "Mohammed Barsi,Versada,Nicolas JEUDY,Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"bugtrack_url": null,
"classifiers": [
"Framework :: Odoo",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python"
],
"description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n======\nSentry\n======\n\nThis module allows painless `Sentry `__ integration with\nOdoo.\n\nInstallation\n============\n\nThe module can be installed just like any other Odoo module, by adding the\nmodule's directory to Odoo *addons_path*. In order for the module to correctly\nwrap the Odoo WSGI application, it also needs to be loaded as a server-wide\nmodule. This can be done with the ``server_wide_modules`` parameter in your\nOdoo config file or with the ``--load`` command-line parameter.\n\nThis module additionally requires the raven_ Python package to be available on\nthe system. It can be installed using pip::\n\n pip install raven\n\nConfiguration\n=============\n\nThe following additional configuration options can be added to your Odoo\nconfiguration file:\n\n============================= ==================================================================== ==========================================================\n Option Description Default\n============================= ==================================================================== ==========================================================\n``sentry_dsn`` Sentry *Data Source Name*. You can find this value in your Sentry ``''``\n project configuration. Typically it looks something like this:\n *https://:@sentry.example.com/*\n This is the only required option in order to use the module.\n\n``sentry_enabled`` Whether or not Sentry logging is enabled. ``False``\n\n``sentry_logging_level`` The minimal logging level for which to send reports to Sentry. ``warn``\n Possible values: *notset*, *debug*, *info*, *warn*, *error*,\n *critical*. It is recommended to have this set to at least *warn*,\n to avoid spamming yourself with Sentry events.\n\n``sentry_exclude_loggers`` A string of comma-separated logger names which should be excluded ``werkzeug``\n from Sentry.\n\n``sentry_ignored_exceptions`` A string of comma-separated exceptions which should be ignored. ``odoo.exceptions.AccessDenied,\n You can use a star symbol (*) at the end, to ignore all exceptions odoo.exceptions.AccessError,\n from a module, eg.: *odoo.exceptions.**. odoo.exceptions.DeferredException,\n odoo.exceptions.MissingError,\n odoo.exceptions.RedirectWarning,\n odoo.exceptions.UserError,\n odoo.exceptions.ValidationError,\n odoo.exceptions.Warning,\n odoo.exceptions.except_orm``\n\n``sentry_processors`` A string of comma-separated processor classes which will be applied ``raven.processors.SanitizePasswordsProcessor,\n on an event before sending it to Sentry. odoo.addons.sentry.logutils.SanitizeOdooCookiesProcessor``\n\n``sentry_transport`` Transport class which will be used to send events to Sentry. ``threaded``\n Possible values: *threaded*: spawns an async worker for processing\n messages, *synchronous*: a synchronous blocking transport;\n *requests_threaded*: an asynchronous transport using the *requests*\n library; *requests_synchronous* - blocking transport using the\n *requests* library.\n\n``sentry_include_context`` If enabled, additional context data will be extracted from current ``True``\n HTTP request and user session (if available). This has no effect\n for Cron jobs, as no request/session is available inside a Cron job.\n\n``sentry_release`` Explicitly define a version to be sent as the release version to\n Sentry. Useful in conjuntion with Sentry's \"Resolve in the next\n release\"-functionality. Also useful if your production deployment\n does not include any Git context from which a commit might be read.\n Overrides *sentry_odoo_dir*.\n\n``sentry_odoo_dir`` Absolute path to your Odoo installation directory. This is optional\n and will only be used to extract the Odoo Git commit, which will be\n sent to Sentry, to allow to distinguish between Odoo updates.\n Overridden by *sentry_release*\n============================= ==================================================================== ==========================================================\n\nOther `client arguments\n`_ can be\nconfigured by prepending the argument name with *sentry_* in your Odoo config\nfile. Currently supported additional client arguments are: ``install_sys_hook,\ninclude_paths, exclude_paths, machine, auto_log_stacks, capture_locals,\nstring_max_length, list_max_length, site, include_versions, environment``.\n\nExample Odoo configuration\n--------------------------\n\nBelow is an example of Odoo configuration file with *Odoo Sentry* options::\n\n [options]\n sentry_dsn = https://:@sentry.example.com/\n sentry_enabled = true\n sentry_logging_level = warn\n sentry_exclude_loggers = werkzeug\n 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\n sentry_processors = raven.processors.SanitizePasswordsProcessor,odoo.addons.sentry.logutils.SanitizeOdooCookiesProcessor\n sentry_transport = threaded\n sentry_include_context = true\n sentry_environment = production\n sentry_auto_log_stacks = false\n sentry_odoo_dir = /home/odoo/odoo/\n sentry_release = 1.3.2\n\nUsage\n=====\n\nOnce configured and installed, the module will report any logging event at and\nabove the configured Sentry logging level, no additional actions are necessary.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/149/10.0\n\nKnown issues / Roadmap\n======================\n\n* **No database separation** -- This module functions by intercepting all Odoo\n logging records in a running Odoo process. This means that once installed in\n one database, it will intercept and report errors for all Odoo databases,\n which are used on that Odoo server.\n\n* **Frontend integration** -- In the future, it would be nice to add\n Odoo client-side error reporting to this module as well, by integrating\n `raven-js `_. Additionally, `Sentry user\n feedback form `_ could be\n integrated into the Odoo client error dialog window to allow users shortly\n describe what they were doing when things went wrong.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* `Module Icon `_\n\nContributors\n------------\n\n* Mohammed Barsi \n* Andrius Preimantas \n* Naglis Jonaitis \n* Atte Isopuro \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n.. _raven: https://github.com/getsentry/raven-python\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://odoo-community.org/",
"keywords": "",
"license": "AGPL-3",
"maintainer": "",
"maintainer_email": "",
"name": "odoo12-addon-sentry",
"package_url": "https://pypi.org/project/odoo12-addon-sentry/",
"platform": "",
"project_url": "https://pypi.org/project/odoo12-addon-sentry/",
"project_urls": {
"Homepage": "https://odoo-community.org/"
},
"release_url": "https://pypi.org/project/odoo12-addon-sentry/12.0.1.0.0.99.dev2/",
"requires_dist": [
"odoo (<12.1dev,>=12.0a)",
"raven"
],
"requires_python": ">=3.5",
"summary": "Report Odoo errors to Sentry",
"version": "12.0.1.0.0.99.dev2"
},
"last_serial": 5768880,
"releases": {
"12.0.1.0.0.99.dev1": [
{
"comment_text": "",
"digests": {
"md5": "d6c513391942de883276eae69bb9bafb",
"sha256": "712981d32ed97b662f62073baab800a1ba76aefe24cedc85f828b3f5c8ac83f7"
},
"downloads": -1,
"filename": "odoo12_addon_sentry-12.0.1.0.0.99.dev1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d6c513391942de883276eae69bb9bafb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 16822,
"upload_time": "2018-11-18T05:38:22",
"url": "https://files.pythonhosted.org/packages/50/ca/1b9cc508c542f6d53bf08c5d65c75e3977b1919f10b9b5c99c5a4e9ee55e/odoo12_addon_sentry-12.0.1.0.0.99.dev1-py3-none-any.whl"
}
],
"12.0.1.0.0.99.dev2": [
{
"comment_text": "",
"digests": {
"md5": "ee277a14382dbe13f53f64eed8a1fd10",
"sha256": "2c9795a7a244156208bef9bc27e8caf08bb68586497982cd8cb3351ae63955dc"
},
"downloads": -1,
"filename": "odoo12_addon_sentry-12.0.1.0.0.99.dev2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee277a14382dbe13f53f64eed8a1fd10",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 17266,
"upload_time": "2019-09-02T04:45:26",
"url": "https://files.pythonhosted.org/packages/3c/ed/de79a05be0e0deaff00851c08e596e712d77e5bb3c29dd75d36041d50c4a/odoo12_addon_sentry-12.0.1.0.0.99.dev2-py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ee277a14382dbe13f53f64eed8a1fd10",
"sha256": "2c9795a7a244156208bef9bc27e8caf08bb68586497982cd8cb3351ae63955dc"
},
"downloads": -1,
"filename": "odoo12_addon_sentry-12.0.1.0.0.99.dev2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee277a14382dbe13f53f64eed8a1fd10",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 17266,
"upload_time": "2019-09-02T04:45:26",
"url": "https://files.pythonhosted.org/packages/3c/ed/de79a05be0e0deaff00851c08e596e712d77e5bb3c29dd75d36041d50c4a/odoo12_addon_sentry-12.0.1.0.0.99.dev2-py3-none-any.whl"
}
]
}