lib/opentelemetry/instrumentation/dalli/instrumentation.rb in opentelemetry-instrumentation-dalli-0.20.0 vs lib/opentelemetry/instrumentation/dalli/instrumentation.rb in opentelemetry-instrumentation-dalli-0.21.0
- old
+ new
@@ -18,10 +18,10 @@
present do
defined?(::Dalli)
end
option :peer_service, default: nil, validate: :string
- option :db_statement, default: :include, validate: ->(opt) { %I[omit obfuscate include].include?(opt) }
+ option :db_statement, default: :include, validate: %I[omit obfuscate include]
private
def require_dependencies
require_relative 'utils'