heroku/rack-queue-metrics — pull request #5 by jclem (2014-03-04 22:07:51+00:00)
Title: rescue from SocketError when getting address from hostname

IPSocket::getaddress throws a SocketError if the hostname
can't be resolved. Rescue and return nil if this occurs.