We should probably do that at the nginx level, to get a clear picture of incoming traffic. At the moment we only track the end result once thumbor has tried to process it.
In fact, if possible, we should also track status codes returned by nginx, which can be different to thumbor's. That's particularly interesting in the timeout scenario where nginx gives up because thumbor isn't responding fast enough.