operate-first / curator

Metering project for OpenShift
MIT License
2 stars 8 forks source link

Report generation timing issue #169

Closed leihchen closed 2 years ago

leihchen commented 2 years ago

When the koku metric operator is configured to upload results every 6 hours, the upload time could be several minutes before or after the exact timing. For example, a report could be uploaded at 2021/11/30 23:59:17 and next one could be uploaded at 2021/12/01 06:00:41. This makes the earliest time to gather all reports of the past day unpredictable. For example, in the case above, to gather all reports on 2021/11/30, we need to at least wait until 2021/12/01 06:00:41. 

As a temporary solution, we delay the report generation for more than two upload cycles (12hrs)

sesheta commented 2 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

sesheta commented 2 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

sesheta commented 2 years ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

sesheta commented 2 years ago

@sesheta: Closing this issue.

In response to [this](https://github.com/operate-first/curator/issues/169#issuecomment-1120189490): >Rotten issues close after 30d of inactivity. >Reopen the issue with `/reopen`. >Mark the issue as fresh with `/remove-lifecycle rotten`. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.