Page MenuHomePhabricator

Thumbor should alert/page when thumbs aren't rendered
Open, MediumPublic

Description

Yesterday thumbor was failing to generate thumbs during poolcounter1001 outage, though no alerts or pages were generated

Event Timeline

Should we set up a healthcheck that hits a URL rendering a thumbnail?

Yeah that'd make sense, I'm torn between a check for a "real" thumbnail (but then we depend on the file being in swift) or a synthetic check. I'm inclined towards the former, thoughts?

Something like:

gilles@thumbor1001:~$ curl -s 'http://localhost:8800/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/270px-Wikipedia-logo-v2-en.svg.png' -H 'Host: upload.wikimedia.org' | exiftool -ImageSize - | grep -q '270x'
gilles@thumbor1001:~$ echo $?
0

untagging observability since there's no action ATM, feel free to tag us back if assistance is needed