lib/opentelemetry/instrumentation/trilogy/instrumentation.rb in opentelemetry-instrumentation-trilogy-0.51.1 vs lib/opentelemetry/instrumentation/trilogy/instrumentation.rb in opentelemetry-instrumentation-trilogy-0.52.0

- old
+ new

@@ -22,9 +22,10 @@ Gem::Requirement.create('>= 2.0', '< 3.0').satisfied_by?(Gem::Version.new(::Trilogy::VERSION)) end option :peer_service, default: nil, validate: :string option :db_statement, default: :obfuscate, validate: %I[omit include obfuscate] + option :span_name, default: :statement_type, validate: %I[statement_type db_name db_operation_and_name] private def require_dependencies require_relative 'patches/client'