Sha256: f9bbf052f9bc47b4cee162e1425eab5895520057824607df8b13c906e55444eb
Contents?: true
Size: 531 Bytes
Versions: 33
Compression:
Stored size: 531 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 CacheDeleteInstrumenter < Labkit::Tracing::AbstractInstrumenter def span_name(payload) "cache_delete" end def tags(payload) { "component" => COMPONENT_TAG, "cache.key" => payload[:key] } end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems