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