-
Notifications
You must be signed in to change notification settings - Fork 900
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
[DARGA] New chargeback calculations #12093
[DARGA] New chargeback calculations #12093
Conversation
…s_to_method Extract getting key and fields to method in chargeback (cherry picked from commit becd152)
…t_rates_in_chargeback Use correct adjustment in chargeback reports (cherry picked from commit 6d02e5f)
…s_to_method Move reportable metric and cost fields to method (cherry picked from commit cb340f9)
cherry-pick from 63996cc
daef944
to
cf21ce4
Compare
Checked commits lpichler/manageiq@7124a90~...cf21ce4 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
@miq-bot add_label chargeback, reporting, blocker |
@himdel updated - exactly 🔁, thanks for noticing! |
@miq-bot remove_label wip |
cc @gtanzillo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
@miq-bot add_label darga/yes |
darga PR for #11648
darga BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1349413
@miq-bot add_label wip
This PR covers only new chargeback calculations as were introduced here
Cherry-pick was not clean because there were touched some features in code of original PR which did not belong to darga.
Last commit 'New chargeback calculations'
is related to #11648 and others commits
are PRs which were needed for it as well.
Example of monthly report, and all rates are hourly and set to $1 with $0 fixed part.
before
![screen shot 2016-10-21 at 11 33 46](https://cloud.githubusercontent.com/assets/14937244/19593805/9a17718a-9782-11e6-9dd9-befbafac40de.png)
after