-
Notifications
You must be signed in to change notification settings - Fork 10
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
[RW-13720][risk=no] Cleaned up credit exhaustion cron language #8994
base: main
Are you sure you want to change the base?
Conversation
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.
Duplicating "freecredit" and iinitialcredits" to ensure deploy safety. Plan to delete freetier later.
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.
Change Expiry to Exhaustion to make naming more intuitive.
@@ -1,7 +1,7 @@ | |||
cron: | |||
- url: /v1/cron/checkObjectNameSize | |||
schedule: every 24 hours | |||
- url: /v1/cron/checkFreeTierBillingUsage | |||
- url: /v1/cron/checkForInitialCreditUsage |
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.
this might break Monitoring alert https://github.com/all-of-us/workbench-terraform-modules/tree/main/modules/workbench/modules/monitoring/modules
api/config/config_local.json
Outdated
@@ -23,17 +23,25 @@ | |||
"projectNamePrefix": "aou-rw-local1-", | |||
"exportBigQueryTable": "all-of-us-workbench-test-bd.billing_data.rw_test_firecloud_view", | |||
"defaultFreeCreditsDollarLimit": 300.0, | |||
"defaultInitialCreditDollarLimit": 300.0, | |||
"freeTierCostAlertThresholds": [ |
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.
do we need to keep the old ones and user another PR to delete? If our code switches to use the new config, then we can just delete them now. Same for all other configs
Cleaned up language of credit exhaustion cron as much as practical.
This largely involved changing freetrier to initialcredit and changing expiry to exhaustion.
PR checklist
[risk=no|low|moderate|severe]
in the PR title as outlined in CONTRIBUTING.md.