[13.0][ADD] monitoring_prometheus (#239)

[13.0][ADD] monitoring_prometheus
This commit is contained in:
Patrick Tombez
2021-11-03 09:58:56 +01:00
committed by Yannick Vaucher
co-authored by Yannick Vaucher
parent 9bf1c0acf5
commit e6e3c34008
8 changed files with 95 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License
==============================
Monitoring: Prometheus metrics
==============================
Add an endpoint */metrics* to allow a Prometheus server to fetch application metrics.
Current available metrics are:
* Request completion time with 3 differentiators:
* Filestore
* Assets
* Everything else
* Longpolling request count
No additional configuration is needed, just ensure that the Prometheus server is allowed to communicate with Odoo