C-RH-C / hcs-collector

GNU General Public License v3.0
2 stars 5 forks source link

Filter stale systems #11

Closed starnold-redhat closed 1 year ago

starnold-redhat commented 1 year ago

This filters out stales systems from the counts when the hcs-collector process runs. It doesn't make any changes to the collect process. Its really important when people are using cloud with BYOS, as short lived systems can really inflate numbers. So this change ignores any system where its stale_timestamp is older than the day the data was collected.

waldirio commented 1 year ago

Hello @starnold-redhat

Could you please rebase this code. Once you push the rebased version, I'll merge it.

Thank you!

starnold-redhat commented 1 year ago

I'm going to close for now. I'm still having a few performance problems. And I'm trying a variety of things .

waldirio commented 1 year ago

@starnold-redhat

No problem. I'll archive this PR then, please, feel free to submit a new one once you get your changes ready to go.

Thank you again! teamwork++ Waldirio