Ruby agent API

The Ruby agent allows customization both with configuration and programmatically through the API. API methods include method tracers and directives to block instrumentation for particular methods, and to instrument uninstrumented methods.

The main API documentation for the Ruby agent is hosted on

There are also several task-specific pages covering specific parts of the Ruby agent's API hosted on this site:

Join the discussion about Ruby in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at