Skip to main content

Elastic APM integration for Odoo

Project description

License: AGPL-3 https://badge.fury.io/py/odoo-elasticapm.svg

odoo-elasticapm integrate the APM tracking from the ELK suite

Quick start

Install odoo-elasticapm:

pip install odoo-elasticapm

Then instead of launching odoo with odoo cmd use odoo-elasticapm:

odoo-elasticapm

Configuration

Following environment variable are needed:

ELASTIC_APM_SERVER_URL=http://apm-server:8200

The following one are optionnal:

ELASTIC_APM_SERVICE_NAME=my-customer ELASTIC_APM_TRANSACTION_SAMPLE_RATE=0.1

All environment variable are available on official documentation: https://www.elastic.co/guide/en/apm/agent/python/current/configuration.html

Issue

We still have issue on travis regarding verison 12 and 13 (I fail to reproduce them locally) If you want to use it on this version be carefull. Contibution and help is welcome

Changes

0.0.1

  • add transaction capture for http request
  • add transaction capture for cron
  • add exception capture for http request
  • add exception capture for cron
  • add special span for ORM method (search, create, write, unlink)

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo-elasticapm, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size odoo_elasticapm-0.0.1-py2.py3-none-any.whl (7.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size odoo-elasticapm-0.0.1.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page