Module: Datadog::Tracing::Contrib::ActiveSupport::Cache::Instrumentation::Store
- Defined in:
- lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb
Overview
Backports the payload key present since Rails 6.1: github.com/rails/rails/commit/6fa747f2946ee244b2aab0cd8c3c064f05d950a5
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, = nil) = &.dup || {} [:store] = self.class.name super(operation, key, ) end |