Bug 1464116 - Collect container metrics is done until time.now instead of until end-time
Summary: Collect container metrics is done until time.now instead of until end-time
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
high
high
Target Milestone: GA
: 5.9.0
Assignee: Yaacov Zamir
QA Contact: Gilad Shefer
URL:
Whiteboard: container:c&u
Depends On:
Blocks: 1469560
TreeView+ depends on / blocked
 
Reported: 2017-06-22 13:01 UTC by Yaacov Zamir
Modified: 2018-04-09 13:03 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1469560 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:52:09 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yaacov Zamir 2017-06-22 13:01:03 UTC
Description of problem:


When queering containers metrics data from Hawkualr we query data until now instead of until endtime.

How to reproduce:
1. open consule "rails c" and run
  some_container = [ some container with Hawkualr metrics ]
  some_container.perf_capture('realtime', start_time = 10.minutes.ago, end_time = 9.minutes.ago)

What we get:
we get metrics until now

What we should get:
we get metrics until 9.minutes.ago

Comment 2 Yaacov Zamir 2017-06-22 13:30:15 UTC
submitted upstream:
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/49


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