Class: Labkit::Tracing::Rails::ActiveSupport::CacheWriteInstrumenter
Overview
Instance Method Summary
collapse
#finish, #scope_stack, #start
Instance Method Details
#span_name(payload) ⇒ Object
9
10
11
|
# File 'lib/labkit/tracing/rails/active_support/cache_write_instrumenter.rb', line 9
def span_name(payload)
"cache_write"
end
|
13
14
15
|
# File 'lib/labkit/tracing/rails/active_support/cache_write_instrumenter.rb', line 13
def tags(payload)
{ "component" => COMPONENT_TAG, "cache.key" => payload[:key] }
end
|