Prometheus exporter
Odoo metrics with Prometheus monitor.
Technical name: prometheus_exporter
Repository: https://github.com/Mint system/Odoo-Apps-Server-Tools/tree/14.0/prometheus-exporteropen in new window
Use
Create Odoo metric
Navigate by Settings > Technical > Metrics and create a new entry.
TIP
By default, the ana number of entries are published as a metric value as a measurement value as a date of date model and filter.
Create Odoo metric with operation
First, you need to create a Odoo metric and then select a field in the optional Measured Field field. If a field has been selected, the operation option appears_Operation_. Here you can select the calculation method.
Get Odoo metrics
The Odoo metrics are included in /metrics
provided. Call the metric page with the Url https://example.com/metricsopen in new window.