Files
session_redis_public/monitoring_statsd
Yannick Payot d17d229b13 Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template

Apply linting
2023-05-24 18:22:55 +02:00
..
2023-05-24 18:22:55 +02:00
2023-05-24 18:22:55 +02:00
2023-05-24 18:22:55 +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