Sha256: 53b21cb483a314bc20336594af06638416a69fcf9075ffe7ba9aaa1da50c984d

Contents?: true

Size: 602 Bytes

Versions: 7

Compression:

Stored size: 602 Bytes

Contents

ifdef::env-github[]
NOTE: For the best reading experience,
please view this documentation at
https://www.elastic.co/guide/en/apm/agent/ruby/current/introduction.html[elastic.co]
endif::[]

[[getting-started-rails]]
== Getting started with Rails

[float]
=== Setup

Add the gem to your `Gemfile`:

[source,ruby]
----
gem 'elastic-apm'
----

Create a file `config/elastic_apm.yml`:

[source,yaml]
----
server_url: http://localhost:8100
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>>.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
elastic-apm-2.6.1 docs/getting-started-rails.asciidoc
elastic-apm-2.6.0 docs/getting-started-rails.asciidoc
elastic-apm-2.5.0 docs/getting-started-rails.asciidoc
elastic-apm-2.4.0 docs/getting-started-rails.asciidoc
elastic-apm-2.3.1 docs/getting-started-rails.asciidoc
elastic-apm-2.3.0 docs/getting-started-rails.asciidoc
elastic-apm-2.2.0 docs/getting-started-rails.asciidoc