Feat: quota report download - #257
Merged
Merged
Conversation
lukasdotcom
force-pushed
the
feat/usage-export
branch
2 times, most recently
from
August 29, 2025 15:56
a06f5b8 to
6df00da
Compare
lukasdotcom
marked this pull request as ready for review
August 29, 2025 15:57
Contributor
changed the base to |
lukasdotcom
force-pushed
the
feat/quota-rules
branch
2 times, most recently
from
September 3, 2025 12:37
f4323a8 to
9e30765
Compare
kyteinsky
reviewed
Sep 4, 2025
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
lukasdotcom
force-pushed
the
feat/usage-export
branch
3 times, most recently
from
September 5, 2025 17:19
319d47c to
c34f0d9
Compare
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
lukasdotcom
force-pushed
the
feat/usage-export
branch
from
September 5, 2025 17:20
c34f0d9 to
417ddc1
Compare
Member
Author
|
I realized that it might look weird if you change the download dates to the past and you are missing usage data, so I added a config to allow you to store the usage data for longer. |
kyteinsky
requested changes
Sep 9, 2025
kyteinsky
approved these changes
Sep 10, 2025
kyteinsky
left a comment
Contributor
There was a problem hiding this comment.
sorry for the noise, all looks good!
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Resolves: #250

Currently downloads a csv that looks like the sample below sorted by usage which is why it currently requires filtering the category:
quota_usage.csv
Also does double count usage if used in a pool then it counts for the user and the pool in the report. Ex: users alice and bob are in a pool. Alice used 20 tokens, bob 300 tokens. The csv would look like this