After installing the gem you need to add the AppSignal integration require
1 2 require "sinatra" # or require 'sinatra/base' require "appsignal/integrations/sinatra"
Then create the AppSignal configuration file,
config/appsignal.yml. See the
Ruby configuration page for more details on how to
After these steps, start your Sinatra app and wait for data to arrive in AppSignal.
Since AppSignal gem version 1.3 you no longer need to manually include the
Appsignal::Rack::SinatraInstrumentation middleware in your application.
Please remove it from your application.
We have two example applications in our examples repository on GitHub. The examples show how to set up AppSignal in small Sinatra applications and modular Sinatra applications.