Module NewRelic::Control::Instrumentation
In: lib/new_relic/control/instrumentation.rb

Contains methods that relate to adding and executing files that contain instrumentation for the Ruby Agent

Methods

Public Instance methods

Add instrumentation. Don‘t call this directly. Use NewRelic::Agent#add_instrumentation. This will load the file synchronously if we‘ve already loaded the default instrumentation, otherwise instrumentation files specified here will be deferred until all instrumentation is run

This happens after the agent has loaded and all dependencies are ready to be instrumented

Signals the agent that it‘s time to actually load the instrumentation files. May be overridden by subclasses

Adds a list of files in Dir.glob format (e.g. ’/app/foo/**/*_instrumentation.rb’) This requires the files within a rescue block, so that any errors within instrumentation files do not affect the overall agent or application in which it runs.

[Validate]