Stackify Ruby APM

Installation Guide

Rails Guide

  1. Install Stackify Linux Agent.

  2. Check that your setup meets our system requirements.

    • Ruby version 2.0+
    • Frameworks
      • Ruby on Rails 4+
      • Rack 1+
      • Sinatra 1.4+
    • Operating System
      • Linux
  3. Add gem 'stackify-ruby-apm' to your Gemfile.

  4. In the root folder of your Rails app create a file config/stackify_apm.yml and then add this configuration

    application_name: 'Ruby Application'
    environment_name: 'Production'
    
  5. Build/Deploy your application

Non-Rails Guide

  1. Install Stackify Linux Agent.

  2. Check that your setup meets our system requirements.

    • Ruby version 2.0+
    • Frameworks
      • Rack 1+
      • Sinatra 1.4+
    • Operating System
      • Linux
  3. Add gem 'stackify-ruby-apm' to your Gemfile.

  4. In the root folder of your Rails app create a file config/stackify_apm.yml and then add this configuration

        application_name: 'Ruby Application'
        environment_name: 'Production'
    
  5. In the config.ru add the following lines:

    ``` use StackifyRubyAPM::Middleware StackifyRubyAPM.start at_exit { StackifyRubyAPM.stop }

    </code>
  1. Build/Deploy your application