# File lib/new_relic/agent/instrumentation/redis.rb, line 24 def port_path_or_id_for(client) client.path || client.port rescue => e NewRelic::Agent.logger.debug "Failed to retrieve Redis port_path_or_id: #{e}" UNKNOWN end