Sha256: 3c24efc70d8b7f7b568413db7cd31d186d807e058b1f870f88cfa642abb9e5cc
Contents?: true
Size: 536 Bytes
Versions: 32
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true module Labkit module Tracing module Rails module ActiveSupport # For more information on the payloads: https://guides.rubyonrails.org/active_support_instrumentation.html class CacheFetchHitInstrumenter < Labkit::Tracing::AbstractInstrumenter def span_name(payload) "cache_fetch_hit" end def tags(payload) { "component" => COMPONENT_TAG, "cache.key" => payload[:key] } end end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems