lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.20.0 vs lib/opentelemetry/instrumentation/mongo/instrumentation.rb in opentelemetry-instrumentation-mongo-0.21.0
- old
+ new
@@ -23,10 +23,10 @@
compatible do
gem_version >= MINIMUM_VERSION
end
option :peer_service, default: nil, validate: :string
- option :db_statement, default: :include, validate: %I[omit include]
+ option :db_statement, default: :obfuscate, validate: %I[omit obfuscate include]
private
def gem_version
Gem::Version.new(::Mongo::VERSION)