Files
session_redis_public/monitoring_statsd
Denis Leemann a8b4b251ef Update manifest files to be consistent inbetween them
The main goal is to be able to easily do grep and sed when we
do mass update on them
2021-10-18 13:08:30 +02:00
..
2018-10-24 12:44:45 +02:00
2016-11-04 10:30:10 +01:00

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
    :alt: License

============================
Monitoring: Statsd metrics
============================

Send metrics to a Statsd (or Statsd compatible) server.

Currently, it sends:
 * time taken to process a click on a button
 * time taken to process a workflow signal
 * time taken by other requests

Configuration
=============

Activate with the environment variable:

* ``ODOO_STATSD=1``

Configure Statsd:

* ``STATSD_HOST=host``
* ``STATSD_PORT=port``

Configure differentiator:

* ``STATSD_CUSTOMER`` must contain the name of the client
* ``STATSD_ENVIRONMENT`` might contain the name of the environment, by
  default, it will use the ``server_environment``'s one