AppSignal for Ruby

AppSignal supports the Ruby language with a Ruby gem. The gem supports many frameworks and gems out-of-the-box, but some gems and frameworks might require custom instrumentation.

It's also possible to add custom instrumentation to your application to gain even more insights into the performance of your code.

Configuration

In this topic, we'll explain how to configure AppSignal. You'll learn what can be configured in the Ruby gem, what's the minimal configuration needed, and how the configuration is loaded.

See our configuration documentation for the complete configuration documentation of the AppSignal gem.

Integrations

The AppSignal Ruby gem integrates with many frameworks, including Rails, Sinatra, Padrino, Grape, and more:

Custom instrumentation

Add custom instrumentation to your application, or create your own integrations with AppSignal. See the instrumentation topic for more details.

Command line tools

The AppSignal Ruby gem ships with several command line tools. These tools make it easier to install AppSignal in an application, send deploy notifications, and diagnose any problems with the installation.

See our command line tools documentation for a full list of all the available commands.

Ruby implementation support

Ruby (MRI)

We currently support Ruby 2.7.0+ and higher.

If you require support for older versions of Ruby, you can use an older version of the AppSignal gem. However, note that we do not provide full support for older versions of the gem.

JRuby

JRuby support is available in version 2.5.0 and higher of the AppSignal Ruby gem.

To use JRuby on Alpine Linux, make sure to upgrade to Ruby gem 2.8.0 or newer. Also, check if your Operating System is supported in combination with JRuby.

ruby
gem "appsignal", "0.11.18"