Sha256: 99dba8348af31435b7674979863506bda69d271ac4961df279387136d66fadc2
Contents?: true
Size: 524 Bytes
Versions: 11
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true module Labkit module Tracing module Rails module ActionView # For more information on the payloads: https://guides.rubyonrails.org/active_support_instrumentation.html class RenderPartialInstrumenter < AbstractInstrumenter def span_name(payload) "render_partial" end def tags(payload) { "component" => COMPONENT_TAG, "template.id" => payload[:identifier] } end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems