The Elastic APM Ruby Agent sends performance metrics and error logs to an Elastic APM Server.
This agent is one of several components you need to get started collecting APM data. See also:
The Elastic APM Ruby Agent officially supports Ruby on Rails versions 4.x on onwards.
For Sinatra and other Rack compatible frameworks, see Getting started with Rack.