Class: Labkit::Tracing::Rails::ActiveSupport::CacheGenerateInstrumenter
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_generate_instrumenter.rb', line 9
def span_name(payload)
"cache_generate"
end
|
13
14
15
|
# File 'lib/labkit/tracing/rails/active_support/cache_generate_instrumenter.rb', line 13
def tags(payload)
{ "component" => COMPONENT_TAG, "cache.key" => payload[:key] }
end
|