Bug 1679333 - [RFE] RHV metrics collection using Prometheus
Summary: [RFE] RHV metrics collection using Prometheus
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-metrics
Version: 4.2.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Peter Lauterbach
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-20 22:14 UTC by Chetan Nagarkar
Modified: 2024-12-20 18:48 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-08 16:28:20 UTC
oVirt Team: Metrics
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sql_exporter config (16.31 KB, text/plain)
2020-10-12 12:09 UTC, Jean-Louis Dupond
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3928931 0 Supportability None [RFE] RHV metrics collection using Prometheus 2019-02-20 22:39:34 UTC

Description Chetan Nagarkar 2019-02-20 22:14:54 UTC
Description of problem:
Support for Prometheus in RHV metrics collection or discussing support of https://github.com/rmohr/ovirt-prometheus-bridge for collecting RHV metrics.

Version-Release number of selected component (if applicable):
Red Hat Virtualization 4.2.8

Additional info:

As per Red Hat documentation, Prometheus is used as an external alerting component. CloudForms integrates Prometheus alerts for use with OpenShift Container Platform.

Reference: https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/monitoring_alerts_and_reporting/integrating_prometheus_alerts
 
More information is required regarding support for Prometheus in RHV metrics collection.

Comment 2 Shirly Radco 2019-06-17 10:59:38 UTC
Will adding collectd write_prometheus out plugin,
that will display collectd metrics in the way Prometheus can scrap them,
be sufficient for customer?

Comment 6 Jean-Louis Dupond 2020-09-16 11:48:07 UTC
Any update on this?

As we see Prometheus is getting more and more the industry standard for metrics, it would be great to be able to hook in Prometheus into oVirt for its metrics.
The Engine should provide some /metrics endpoint so metrics can be scraped from it.

Comment 8 Jean-Louis Dupond 2020-10-12 12:09:46 UTC
Created attachment 1720949 [details]
sql_exporter config

I found a (temporary) solution that uses the DHW PostgreSQL data to generate Prometheus metrics that can be scraped.

It uses https://github.com/free/sql_exporter with the config in attachment.

All it needs is some query optimisation, and it works quite well then!

Comment 10 Sandro Bonazzola 2022-03-29 16:16:40 UTC
We are past 4.5.0 feature freeze, please re-target.

Comment 11 Michal Skrivanek 2022-04-08 16:28:20 UTC
no update for a long time, didn't make it for 4.5, workaround in comment #8 looks...decent enough, closing

Comment 12 Red Hat Bugzilla 2023-09-15 00:15:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.