Sha256: 854db91ae818bbe6dd8711c08326872dd3dd0f905e422adbb7284a1d594b44ad

Contents?: true

Size: 604 Bytes

Versions: 6

Compression:

Stored size: 604 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: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>>.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elastic-apm-3.6.0 docs/getting-started-rails.asciidoc
elastic-apm-3.5.0 docs/getting-started-rails.asciidoc
elastic-apm-3.4.0 docs/getting-started-rails.asciidoc
elastic-apm-3.3.0 docs/getting-started-rails.asciidoc
elastic-apm-3.2.0 docs/getting-started-rails.asciidoc
elastic-apm-3.1.0 docs/getting-started-rails.asciidoc