-
Notifications
You must be signed in to change notification settings - Fork 11
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
gcp job retriever #1788
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a scheduled job to retrieve instances data and add recommendations.
retrieve all projects from GCP (query-1)
for each project retrieve all instances (query-2)
for each instance retrieve the average CPU utilization per day between the current date (*) and 90 days ago (query-3)
for each instance retrieve max CPU utilization per minute between the current date (*) and 7 days ago (query-4)
for each instance retrieve max memory utilization per minute between the current date (*) and 7 days ago (query-5)
for each instance retrieve all disk (query-6)
for each disk retrieve the max throughput write per day between the current date (*) and 5 days ago (query-7)
for each disk retrieve the max throughput read per day between the current date (*) and 5 days ago (query-8)
for each disk retrieve the max iops write per day between the current date (*) and 5 days ago (query-9)
for each disk retrieve the max iops read per day between the current date (*) and 5 days ago (query-10)
recommendation must be created if these conditions are satisfied:
**disk limit
the limits must be calculated based on this doc.
if the of the disk and vm is greater than the reference use the reference value as the disk limit
The text was updated successfully, but these errors were encountered: