Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[CORE-40] Add cross-billing project spend report API #3107
[CORE-40] Add cross-billing project spend report API #3107
Changes from 10 commits
c0ef330
1a396b9
3a4dc82
56cf2bc
cc2c3bd
2adf61b
775616e
414207c
c5c736a
81f843b
0895f80
a023bbb
0c6915b
9a8694b
554256b
9085110
8f52a84
b5fa11f
9fd6bc0
9ad4c7e
b07bbb1
a0e9897
9da40c0
6a03274
2200b62
e1e31a1
e4a13db
85ad0f2
c6d966f
0c4cbe1
7d9f379
20dfd8c
cdc0b53
a6b900f
e079f56
780974f
9dcfd0f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Each of these
SpendReportingForDateRange
objects include the same value forgetRoundedNumericValue("credits")
. Is this triple-counting credits?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.
Good point.
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.
On closer inspection, I think it shows the same credits three times, one for each category, but only counts it once in the total. Still less than ideal
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.
You might be able to clean this up a bit, like: