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

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

Overview

Defines instrumentation for ActiveSupport cache deleting

Instance Method Summary collapse

Instance Method Details

#delete(*args, &block) ⇒ Object



177
178
179
# File 'lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb', line 177

def delete(*args, &block)
  Instrumentation.trace(Ext::RESOURCE_CACHE_DELETE, dd_store_name, key: args[0]) { super }
end