Sha256: 53e5a223173455a94342b668114d21c78eecd06bb70b8add6a476e9c08318469
Contents?: true
Size: 675 Bytes
Versions: 8
Compression:
Stored size: 675 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, router_class_name, 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
8 entries across 8 versions & 1 rubygems