Sha256: 6ab61b3902ea8402c3c065c69519ee7dff87337f11acd5226ad7fc27466e7f61
Contents?: true
Size: 686 Bytes
Versions: 7
Compression:
Stored size: 686 Bytes
Contents
module Skylight module Normalizers module ActionDispatch class RouteSet < Normalizer register "route_set.action_dispatch" CAT = "rack.app".freeze def normalize(trace, _name, _payload) trace.endpoint = router_class_name [CAT, trace.endpoint, nil] end private def router_class_name "ActionDispatch::Routing::RouteSet" end def process_meta_options(_payload) # provide hints to override default source_location behavior super.merge(source_location_hint: [:own_instance_method, router_class_name, "call"]) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems