lib/opentelemetry/instrumentation/pg/instrumentation.rb in opentelemetry-instrumentation-pg-0.24.0 vs lib/opentelemetry/instrumentation/pg/instrumentation.rb in opentelemetry-instrumentation-pg-0.25.0
- old
+ new
@@ -24,9 +24,10 @@
gem_version > Gem::Version.new(MINIMUM_VERSION)
end
option :peer_service, default: nil, validate: :string
option :db_statement, default: :include, validate: %I[omit include obfuscate]
+ option :obfuscation_limit, default: 2000, validate: :integer
private
def gem_version
Gem::Version.new(::PG::VERSION)