# File lib/new_relic/agent/instrumentation/redis.rb, line 17 def host_for(client) client.path ? LOCALHOST : client.host rescue => e NewRelic::Agent.logger.debug "Failed to retrieve Redis host: #{e}" UNKNOWN end