- Rails
- Sinatra
Rails installation steps
-
From Heroku dashboard, select the relevant application you have created and choose Atatus from the add-on page. There are two ways to choose the add-on.
- From UI, you can click on the Configure add-ons and then select the subscription plan.
- From Command line
- Go to Atatus dashboard by clicking on the Atatus add-on and navigate to the Settings » Account Settings » License Keys in Atatus and copy the Atatus APM License key.
-
From your terminal, go to your Rails app directory and set the license key and application name in heroku config as follows.
-
Add the Atatus agent gem to your Gemfile.
-
Install the gem from your application root directory.
-
Run the following commands to commit the changes.
- Access your server from your web app or mobile app or curl. You will visualize your application’s metrics within minutes.