Bug 1468251 - [RFE][TD] Create and use Prometheus Metrics Ruby client
Summary: [RFE][TD] Create and use Prometheus Metrics Ruby client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: C&U Capacity and Utilization
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.10.0
Assignee: Yaacov Zamir
QA Contact: Shalom Naim
URL:
Whiteboard: container
Depends On: 1461969
Blocks: 1530736
TreeView+ depends on / blocked
 
Reported: 2017-07-06 13:07 UTC by Yaacov Zamir
Modified: 2018-06-21 20:40 UTC (History)
5 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1530736 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:40:54 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yaacov Zamir 2017-07-06 13:07:07 UTC
Description of problem:

We use faraday gem to collect metrics and buffered-allerts from prometheus

We should use a prometheus specialized gem to collect metrics and buffered-allerts from prometheus tsdb.

Additional info:

such a gem does not exist at this time, the prometheus team agread to look at a gem we make and consider adopting it.

Comment 3 Yaacov Zamir 2017-09-04 08:12:35 UTC
created a gem:
https://github.com/yaacov/prometheus_api_client_ruby

Comment 4 Yaacov Zamir 2017-11-26 13:27:10 UTC
submitted upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/132

Comment 5 Yaacov Zamir 2017-11-26 14:04:46 UTC
the gem for Prometheus Metrics Ruby client is in the Prometheus namespace in github:
https://github.com/prometheus/prometheus_api_client_ruby

we use it in:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/132

Comment 6 Yaacov Zamir 2017-12-27 12:57:38 UTC
submitted upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/195

Comment 7 Yaacov Zamir 2017-12-28 10:41:07 UTC
merged upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/195


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