lib/opentelemetry/instrumentation/pg/instrumentation.rb in opentelemetry-instrumentation-pg-0.17.1 vs lib/opentelemetry/instrumentation/pg/instrumentation.rb in opentelemetry-instrumentation-pg-0.18.0
- old
+ new
@@ -24,9 +24,10 @@
Gem.loaded_specs['pg'].version > Gem::Version.new(MINIMUM_VERSION)
end
option :peer_service, default: nil, validate: :string
option :enable_sql_obfuscation, default: false, validate: :boolean
+ option :enable_statement_attribute, default: true, validate: :boolean
private
def require_dependencies
require_relative 'patches/connection'