Module: Datadog::CacheInstrumentExtension

Defined in:
lib/ddtrace/contrib/rails/core_extensions.rb

Overview

CacheInstrumentExtension prepends the instrument function that Rails 3.x uses to know if the underlying cache should be instrumented or not. By default, we force that instrumentation if the Rails application is auto instrumented.

Instance Method Summary collapse

Instance Method Details

#instrumentObject



61
62
63
# File 'lib/ddtrace/contrib/rails/core_extensions.rb', line 61

def instrument
  true
end