Sha256: fcbfbf660283745a8d26a8d1ddae912d653144fe2782524f7ccfeb3557194aa6
Contents?: true
Size: 498 Bytes
Versions: 28
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true module Skylight module Normalizers module Graphiti class Render < Normalizer register "render.graphiti" CAT = "view.render.graphiti" ANONYMOUS = "<Anonymous Resource>" def normalize(_trace, _name, payload) resource_class = payload[:proxy]&.resource&.class title = "Render #{resource_class&.name || ANONYMOUS}" desc = nil [CAT, title, desc] end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems