| Module | NewRelic::Agent::Instrumentation::RackBuilder |
| In: |
lib/new_relic/agent/instrumentation/rack.rb
|
We patch this method for a reason that actually has nothing to do with instrumenting rack itself. It happens to be a convenient and easy-to-hook point that happens late in the startup sequence of almost every application, making it a good place to do a final call to DependencyDetection.detect!, since all libraries are likely loaded at this point.