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

Add metering reports #16342

Merged
merged 14 commits into from
Oct 30, 2017
Merged

Add metering reports #16342

merged 14 commits into from
Oct 30, 2017

Conversation

lpichler
Copy link
Contributor

@lpichler lpichler commented Oct 30, 2017

This PR is adding metering reports:
Metering for VM
Metering for ContainerProject
Metering for ContainerImage

also:

  • metering used hours moved from chargeback to these reports
  • added existence hours column

These reports are most likely like a chargeback reports but without cost.
Difference is also in calculation of used metric - there are used sums instead of averages.

screen shot 2017-10-30 at 12 36 39

@miq-bot assign @gtanzillo

@miq-bot add_label enhancement, chargeback

Links

UI: ManageIQ/manageiq-ui-classic#2553

@gtanzillo gtanzillo added this to the Sprint 72 Ending Oct 30, 2017 milestone Oct 30, 2017
@miq-bot
Copy link
Member

miq-bot commented Oct 30, 2017

Checked commits lpichler/manageiq@6a2d9d3~...99cebac with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
15 files checked, 4 offenses detected

app/models/metering_container_image.rb

app/models/metering_container_project.rb

app/models/metering_vm.rb

spec/models/metering_vm_spec.rb

@gtanzillo gtanzillo merged commit 2702d7f into ManageIQ:master Oct 30, 2017
@lpichler lpichler deleted the add_metering_reports branch October 30, 2017 19:14
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