Sha256: 3f7e4e17daf1229681baf0695cd97ce3753a5bc632c7e3c33c0f41621f4c2a0e
Contents?: true
Size: 687 Bytes
Versions: 20
Compression:
Stored size: 687 Bytes
Contents
# frozen_string_literal: true module Skylight module Probes module ActionDispatch module Routing module RouteSet module Instrumentation def call(env) ActiveSupport::Notifications.instrument("route_set.action_dispatch") { super } end end class Probe def install ::ActionDispatch::Routing::RouteSet.prepend(Instrumentation) end end end end end register( :rails_router, "ActionDispatch::Routing::RouteSet", "action_dispatch/routing/route_set", ActionDispatch::Routing::RouteSet::Probe.new ) end end
Version data entries
20 entries across 20 versions & 1 rubygems