Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 587 |
Technical Name |
nooyf_prometheus_exporter |
License | OPL-1 |
Website | https://dopslab.com/contact/ |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 587 |
Technical Name |
nooyf_prometheus_exporter |
License | OPL-1 |
Website | https://dopslab.com/contact/ |
Odoo Prometheus Exporter
Monitor, Analyze, and Extend Odoo with Advanced Metrics

Expose and Secure Metrics
Designed for Prometheus, Telegraf, and Cloud Integration
Endpoint:
- Provides an endpoint for exposing Odoo metrics, compatible with Prometheus, Telegraf, and cloud-based systems.
- Customize metrics by enabling or disabling them as required.
Security:
- Secure the API endpoint to ensure data integrity and controlled access.
- Authenticate requests and safeguard data using a configurable token.
Extensibility:
- Includes default metrics and allows customization to create tailored monitoring solutions.
- Default metrics cover module data (CRM, Sales, Inventory, etc.), user statistics, and system performance.
- Extend functionality by overriding the exporterâs methods.

Why Choose Odoo Prometheus Exporter?
Expand Your Data Capabilities Beyond Odoo

Enhance data analytics with the ability to externalize dashboards, fostering collaboration and insight-sharing across teams and systems.
Overcome Odoo's limitations by tracing and comparing data over time and across multiple databases.
Extend Metrics
Export Custom Metrics
Extend your models with custom metrics and expose them to Prometheus.
To implement this, create the export_prom_metrics
method in your model.
Use the following interfaces to define your metrics:
registry.gauge_count(model: str, domain: str, name: str, help: str)
to expose a gauge metric.registry.gauge_sql(sql: str, label: str, name: str, help: str)
to expose a gauge metric using an SQL query.registry.static(name: str, help: str, value: int)
to expose a static counter metric.
After customization, register your model in the module configuration to activate these metrics.

Collaborate and Enhance
Enable Data-Driven Decisions

Share metrics and insights across teams to foster collaboration. Use the exporter to enhance monitoring capabilities, ensuring your Odoo system adapts to evolving business requirements.
A sample Grafana dashboard is included with this module and can be found at data/grafana_odoo_dashboard.json
.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module