Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 369 |
Technical Name |
odoo_newrelic_integration |
License | LGPL-3 |
Website | https://opsway.com |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 369 |
Technical Name |
odoo_newrelic_integration |
License | LGPL-3 |
Website | https://opsway.com |
Odoo Newrelic Integration
Newrelic monitoring for Odoo, allows you to monitor the performance, track errors and more.









- Migrate to Odoo 16
Odoo 16 Newrelic Integration
Table of contents
This module allows you monitoring Odoo performance and errors in Newrelic
Installation
To install this module, you need to:
Download the module and add it to your Odoo addons folder.
Install module dependencies or add them to requirements.txt: pip install newrelic==9.1.0
Install module in Odoo
Add module to odoo.conf as a serverside addon:
- server_wide_modules = server_wide_modules = base,web,odoo_newrelic_integration
- On Odoo.sh you can find config at .config/odoo/odoo.conf
Create Newrelic account and Add Ingest -License key in Administration settings
Copy newrelic_example.ini to your repository with odoo_newrelic_integration module and rename it to newrelic.ini
Update newrelic.ini by adding you licence key
Restart Odoo server
If everything is ok you will find in odoo logs: NewRelic initialized successfully
Go to Newrelic and find new Service - APM with Odoo name (you can change it in newrelic.ini) in APM & Services menu
Configuration
Ignore errors
You can filter errors that you want to see in Newrelic by editing error_collector.ignore_classes in newrelic.ini. By default the ignored error types are:
- odoo.exceptions:UserError
- odoo.http:SessionExpiredException
- odoo.exceptions:ValidationError
- odoo.exceptions:AccessError
- werkzeug.exceptions:BadRequest
- odoo.exceptions:MissingError
- odoo.exceptions:ValidationError``
Cron errors
You can find all cron errors in a wrapper exception odoo.addons.odoo_newrelic_integration.lib.nr_init:CronError
Please log in to comment on this module