Sha256: 021f0b45386a0086218924a60a60876cd87674d598602fe26b7ee918cd3bdc4f
Contents?: true
Size: 565 Bytes
Versions: 11
Compression:
Stored size: 565 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 RenderTemplateInstrumenter < AbstractInstrumenter def span_name(payload) "render_template" end def tags(payload) { "component" => COMPONENT_TAG, "template.id" => payload[:identifier], "template.layout" => payload[:layout] } end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems