Getting started with Rails

Setup

Add the gem to your Gemfile:

gem 'elastic-apm'

Create a file config/elastic_apm.yml:

server_url: http://localhost:8200
secret_token: ''

This automatically sets up error logging and performance tracking but of course there are knobs to turn if you’d like to. See Configuration.