osv.dev icon indicating copy to clipboard operation
osv.dev copied to clipboard

Don't log import latency every time the task times out

Open michaelkedar opened this issue 2 years ago • 1 comments

The workers log latency regardless of whether the task finished or not: https://github.com/google/osv.dev/blob/01173bfd380841914bda13453d3a1853395924de/docker/worker/worker.py#L623-L628

This messes with our import latency SLO monitoring, since jobs repeatedly get processed & timed out until it's processed correctly or dead-lettered.

We should also add a subscription to the dead letter topic to monitor failed imports

michaelkedar avatar Dec 12 '23 00:12 michaelkedar

This issue has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 20 '24 18:07 github-actions[bot]