NewRelic Instrumentation Module

by
Odoo
v 16.0 Third Party 43
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 369
Technical Name odoo_newrelic_integration
LicenseLGPL-3
Websitehttps://opsway.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 369
Technical Name odoo_newrelic_integration
LicenseLGPL-3
Websitehttps://opsway.com

Odoo Newrelic Integration

Newrelic monitoring for Odoo, allows you to monitor the performance, track errors and more.

Newrelic Summary
Newrelic Transactions
Monitor performance of transactions, with details
Find a breakdown of the transaction performance (1) and list of transaction traces (2)
Newrelic Transaction List Of Traces
You can find the performance statistics per each transaction type separately
Newrelic Transaction  Performance
For each trace you can open details and find a list of database queries (1) with a filter of slowest ones (2) and query details (3) including trace in the code (4)
Newrelic Transaction Trace Details
Analyze slowest Database queries
Newrelic Slow Queries
Open Database analytics (1) and find the list of the slowest queries (2) for a certain period of time
Newrelic Trace Query To Code
Analyze queries and trace them to the lines of code
Newrelic Monitor Errors
Monitor errors and get notifications in Slack
Create Workloads for enabling error notification and find many other Newrelic features at https://docs.newrelic.com
Newrelic Workloads
Take a moment to comment on and rate our Odoo app! Your feedback is invaluable in helping us improve and enhance your experience.
Release 16.0.1.1
9th November, 2023
  • 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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.