Skip to content

Commit 39f6210

Browse files
committed
chore(sentry): add cron monitor for tracking
1 parent 1c1efa1 commit 39f6210

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

deploy/helm/ifrcgo-helm/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ cronjobs:
274274
schedule: '0 0 * * 0'
275275
- command: 'ingest_icrc'
276276
schedule: '0 3 * * 0'
277+
# Schedule time yet to be decided
278+
- command: 'poll_gdacs_cy'
279+
schedule: '0 0 * * 0'
280+
- command: 'poll_gdacs_fl'
281+
schedule: '0 0 * * 0'
282+
- command: 'poll_usgs_eq'
283+
schedule: '0 0 * * 0'
277284
# - command: 'notify_validators'
278285
# schedule: '0 0 * * *'
279286
# https://github.com/jazzband/django-oauth-toolkit/blob/master/docs/management_commands.rst#cleartokens

main/sentry.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ class SentryMonitor(models.TextChoices):
128128
INGEST_NS_DOCUMENT = "ingest_ns_document", "0 0 * * 0"
129129
INGEST_NS_INITIATIVES = "ingest_ns_initiatives", "0 0 * * 0"
130130
INGEST_ICRC = "ingest_icrc", "0 3 * * 0"
131+
POLL_USGS_EQ = "poll_usgs_eq", "0 0 * * 0"
132+
POLL_GDACS_FL = "poll_gdacs_fl", "0 0 * * 0"
133+
POLL_GDACS_CY = "poll_gdacs_cy", "0 0 * * 0"
131134
# NOTIFY_VALIDATORS = "notify_validators", "0 0 * * *" # NOTE: Disable local unit email notification for now
132135
OAUTH_CLEARTOKENS = "oauth_cleartokens", "0 1 * * *"
133136

0 commit comments

Comments
 (0)