Red Hat Bugzilla – Bug 1473760
Using hawkular-tenant and curling the hawkular-metrics endpoint provides pods that aren't necessarily running
Last modified: 2017-07-24 12:18:56 EDT
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):
Providing more details soon in private update.
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.