lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.21.3 vs lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.22.0

- old
+ new

@@ -19,10 +19,10 @@ defined?(::Redis) end option :peer_service, default: nil, validate: :string option :trace_root_spans, default: true, validate: :boolean - option :db_statement, default: :obfuscate, validate: ->(opt) { %I[omit include obfuscate].include?(opt) } + option :db_statement, default: :obfuscate, validate: %I[omit include obfuscate] private def require_dependencies require_relative 'patches/client'