Celery task for sync job

This commit is contained in:
Curtis Castrapel
2018-10-29 09:10:43 -07:00
parent f0e305c20e
commit 56ed416cb7
3 changed files with 26 additions and 2 deletions

View File

@ -93,6 +93,7 @@ def sync(source_strings):
)
sentry.captureException()
metrics.send('source_sync_fail', 'counter', 1, metric_tags={'source': source.label, 'status': status})
metrics.send('source_sync', 'counter', 1, metric_tags={'source': source.label, 'status': status})