lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.17.0 vs lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.18.0
- old
+ new
@@ -18,14 +18,14 @@
present do
defined?(::Redis)
end
option :peer_service, default: nil, validate: :string
+ option :enable_statement_obfuscation, default: true, validate: :boolean
private
def require_dependencies
- require_relative 'utils'
require_relative 'patches/client'
end
def patch_client
::Redis::Client.prepend(Patches::Client)