Sha256: f41dd5224f32a99d1e3be4795889bd24448eea4a2e1214686b1902f85d54149e
Contents?: true
Size: 703 Bytes
Versions: 8
Compression:
Stored size: 703 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") do super end 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
8 entries across 8 versions & 1 rubygems