Module: Datadog::Tracing::Contrib::ActiveSupport::Cache::Instrumentation::Store

Defined in:
lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb

Overview

Instance Method Summary collapse

Instance Method Details

#instrument(operation, key, options = nil) ⇒ Object



179
180
181
182
183
# File 'lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb', line 179

def instrument(operation, key, options = nil)
  polyfill_options = options&.dup || {}
  polyfill_options[:store] = self.class.name
  super(operation, key, polyfill_options)
end