lib/new_relic/agent/instrumentation/redis.rb in newrelic_rpm-8.9.0 vs lib/new_relic/agent/instrumentation/redis.rb in newrelic_rpm-8.10.0

- old
+ new

@@ -1,8 +1,9 @@ # encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. +# frozen_string_literal: true require 'new_relic/agent/datastores' require 'new_relic/agent/datastores/redis' require_relative 'redis/instrumentation' @@ -26,10 +27,10 @@ NewRelic::Agent::Datastores::Redis.is_supported_version? && NewRelic::Agent::Datastores::Redis.safe_from_third_party_gem? end executes do - NewRelic::Agent.logger.info 'Installing Redis Instrumentation' + NewRelic::Agent.logger.info('Installing Redis Instrumentation') if use_prepend? prepend_instrument ::Redis::Client, NewRelic::Agent::Instrumentation::Redis::Prepend else chain_instrument NewRelic::Agent::Instrumentation::Redis::Chain end