Skip to content

Commit 10b3513

Browse files
authored
Less frequent test alerts (#4362)
## Changes Re-evaluate test alerts every Jan 10 at 09:00, instead of every hour on every day. Since we clean them up every night, ideally there won't be any alerts to re-evaluate at that time (or only a few from the new test runs). ## Why There was a problem when even deleted alerts are counting towards a workspace quota. The alerts team is working on that. Another problem is alerts service hitting compute quotas, which can be due to many re-evaluations of not yet deleted alerts. This PR addresses the later problem. ## Tests acceptance
1 parent ba0069f commit 10b3513

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

acceptance/bundle/deployment/bind/alert/alert.json.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"schedule": {
2525
"pause_status": "UNPAUSED",
26-
"quartz_cron_schedule": "0 0 * * * ?",
26+
"quartz_cron_schedule": "0 0 9 10 1 ?",
2727
"timezone_id": "UTC"
2828
}
2929
}

acceptance/bundle/generate/alert/alert.json.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
},
1717
"schedule": {
18-
"quartz_cron_schedule": "0 0 * * * ?",
18+
"quartz_cron_schedule": "0 0 9 10 1 ?",
1919
"timezone_id": "UTC"
2020
}
2121
}

acceptance/bundle/generate/alert/out/alert/test_alert.dbalert.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"notification": {}
1313
},
1414
"schedule": {
15-
"quartz_cron_schedule": "0 0 * * * ?",
15+
"quartz_cron_schedule": "0 0 9 10 1 ?",
1616
"timezone_id": "UTC"
1717
},
1818
"query_lines": [

acceptance/bundle/invariant/data/alert.dbalert.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"schedule": {
21-
"quartz_cron_schedule": "0 0 * * * ?",
21+
"quartz_cron_schedule": "0 0 9 10 1 ?",
2222
"timezone_id": "UTC"
2323
},
2424
"query_lines": [

0 commit comments

Comments
 (0)