Bug 1473760 - Using hawkular-tenant and curling the hawkular-metrics endpoint provides pods that aren't necessarily running
Summary: Using hawkular-tenant and curling the hawkular-metrics endpoint provides pods...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matt Wringe
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-21 14:46 UTC by Eric Jones
Modified: 2020-09-10 11:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-24 16:18:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Jones 2017-07-21 14:46:48 UTC
Description of problem:
Manually curling the metricsPublicURL and providing the Hawkular-Tenant header and specifying a namespace does not only specify the pods that are currently running.

Looking at the output in more detail it almost seems to show every version of that pod that has run.

Version-Release number of selected component (if applicable):
3.4.1

Providing more details soon in private update.

Comment 2 Matt Wringe 2017-07-24 16:18:56 UTC
We don't only store metrics for the currently running pods.

If you are running a replica set with 10 pods, you may want to know the usage for that replica set overtime. That requires knowing about all the pods which were running under that replica set and not just the current ones.

For data for the pods should automatically expire after a set time, and in more recent version the metrics definitions will automatically expire was well.

This is the intended behaviour.


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