lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.18.0 vs lib/opentelemetry/instrumentation/redis/instrumentation.rb in opentelemetry-instrumentation-redis-0.19.0
- old
+ new
@@ -17,11 +17,12 @@
present do
defined?(::Redis)
end
- option :peer_service, default: nil, validate: :string
- option :enable_statement_obfuscation, default: true, validate: :boolean
+ option :peer_service, default: nil, validate: :string
+ option :trace_root_spans, default: true, validate: :boolean
+ option :enable_statement_obfuscation, default: true, validate: :boolean
private
def require_dependencies
require_relative 'patches/client'