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

[FEATURE]: Monthly Cost report #64

Open
1 task done
janlauber opened this issue Feb 8, 2022 · 2 comments · May be fixed by #81
Open
1 task done

[FEATURE]: Monthly Cost report #64

janlauber opened this issue Feb 8, 2022 · 2 comments · May be fixed by #81
Assignees
Labels
enhancement New feature or request

Comments

@janlauber
Copy link
Contributor

Contact Details

No response

Describe the feature

Create a cronjob which scrapes the costs of all tenants and writes it into some persistent storage.
Via env you can set a github team which can then download this report on the dashboard for all tenants or just one.
Also let there be an option to download the report in each tenant dashboard.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@janlauber janlauber added the enhancement New feature or request label Feb 8, 2022
@janlauber janlauber self-assigned this Feb 8, 2022
@janlauber
Copy link
Contributor Author

janlauber commented Mar 3, 2022

Saving to database is now working.
Next thing to do is to create a function which calculates the average of these logs (per month).
Also add the ability to set the sleep timer value by env.
Then create a API endpoint to get the report of the values by tenant.
Also create an API endpoint for admins/auditors to get a report over every tenant (env variable to set the githubteamslug)

@janlauber
Copy link
Contributor Author

Test the Months, which were calculated by the monthly costs. Not sure if they work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant