Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOR covers 30 days #17376

Merged
merged 1 commit into from
Jun 4, 2018
Merged

NOR covers 30 days #17376

merged 1 commit into from
Jun 4, 2018

Conversation

jameswnl
Copy link
Contributor

@jameswnl jameswnl commented May 2, 2018

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1501996

Currently Normal Operating Range effectively only cover 29 (instead of claimed 30) days of data. It is using the range of [30 days before Time.now .. Time.now] to query the daily rollups. However, the daily rollup record is only created at the end of current day and the record will have timestamp set to the beginning of current day.

@miq-bot
Copy link
Member

miq-bot commented May 2, 2018

Checked commit jameswnl@f08b0cd with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
4 files checked, 0 offenses detected
Everything looks fine. 🏆

@jameswnl jameswnl changed the title [WIP] NOR covers 30 days NOR covers 30 days May 4, 2018
@jameswnl
Copy link
Contributor Author

jameswnl commented May 4, 2018

@miq-bot add_labels bug, providers/metrics

@jameswnl
Copy link
Contributor Author

jameswnl commented May 4, 2018

@miq-bot remove_label wip

@agrare agrare self-assigned this Jun 4, 2018
Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, nice catch @jameswnl

@agrare agrare merged commit c5a4a1b into ManageIQ:master Jun 4, 2018
@agrare agrare added this to the Sprint 87 Ending Jun 4, 2018 milestone Jun 4, 2018
@jameswnl jameswnl deleted the nor30 branch June 26, 2018 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants