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


Download files

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

Source Distribution

odoo-elasticapm-0.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

odoo_elasticapm-0.0.1-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file odoo-elasticapm-0.0.1.tar.gz.

File metadata

  • Download URL: odoo-elasticapm-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for odoo-elasticapm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 69582375533b438a6b5da0669fff498dd49b8f4b18d3232b9d46420992c6423a
MD5 631d163c54788be00b9d41880eaeff4e
BLAKE2b-256 ea7625055cc663437508f8f6877c620df734ba4d7c79df1a2513e785a89eeeb8

See more details on using hashes here.

File details

Details for the file odoo_elasticapm-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: odoo_elasticapm-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for odoo_elasticapm-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bfb6d204a0583e4d041069a0b01c46b1269c7bffcec8d6fe86ad8bdf8105821d
MD5 d6045f5833e132e30ecf2c7db1193acb
BLAKE2b-256 78aec4f5ef9e60ac045d7f9dcb9c880995954d0a98de513ae7ebb6b85d5f827f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page