Skip to content

akretion/odoo-elasticapm

Repository files navigation

odoo-elasticapm

License: AGPL-3

odoo-elasticapm integrate the APM tracking from the ELK suite

Contents

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

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