• Stars
    star
    200
  • Rank 195,325 (Top 4 %)
  • Language
    Ruby
  • License
    Other
  • Created over 9 years ago
  • Updated 12 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks

ScoutApm Ruby Agent

Build Status

A Ruby gem for detailed Rails application performance monitoring πŸ“ˆ. Metrics and transaction traces are reported to Scout, a hosted application monitoring service.

What's the special sauce? πŸ€”

The Scout agent is engineered to do some wonderful things:

Getting Started

Add the gem to your Gemfile

gem 'scout_apm'

Add a version of the parser gem that supports your version of Ruby. For example, if you're on Ruby 3.3.0:

gem 'parser', '~> 3.3.0.0'

Update your Gemfile

bundle install

Signup for a Scout account and put the provided config file at RAILS_ROOT/config/scout_apm.yml.

Your config file should look like:

common: &defaults
  name: YOUR_APPLICATION_NAME
  key: YOUR_APPLICATION_KEY
  monitor: true

test:
  monitor: false

production:
  <<: *defaults

DevTrace Quickstart

To use DevTrace, our free, no-signup, in-browser development profiler:

  1. Add the gem to your Gemfile:
# Gemfile
gem 'scout_apm'
  1. Start your Rails app with the SCOUT_DEV_TRACE environment variable:
SCOUT_DEV_TRACE=true rails server

How to test gem locally

  • Point your gemfile at your local checkout: gem 'scout_apm', path: '/path/to/scout_apm_ruby
  • Compile native code: cd /path/to/scout_apm_ruby && bundle exec rake compile

Docs

For the complete list of supported frameworks, Rubies, configuration options and more, see our help site.

Help

Email [email protected] if you need a hand.

More Repositories

1

scout_realtime

Realtime server metrics in your browser
JavaScript
2,092
star
2

ruby_server_timing

Bring Rails server-side performance metrics πŸ“ˆ to Chrome's Developer Tools via the Server Timing API. Production Safeβ„’.
Ruby
516
star
3

scout_apm_python

ScoutAPM Python Agent. Supports Django, Flask, and many other frameworks.
Python
69
star
4

elixir_plug_server_timing

Bring Elixir/Phoenix server-side performance metrics πŸ“ˆ to Chrome's Developer Tools via the Server Timing API. Production Safeβ„’.
Elixir
48
star
5

scout_apm_elixir

ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
Elixir
36
star
6

scout-apm-laravel

ScoutAPM PHP Agent for the Laravel Framework
22
star
7

roadmap

The public roadmap for Scout application monitoring.
16
star
8

scout-apm-php

ScoutAPM's Base PHP Agent - See README for Laravel, Symfony, and other framework support.
PHP
16
star
9

scout-apm-php-ext

Native Extension Component for ScoutAPM's PHP Agent
C
15
star
10

scout_statsd_rack

Rack application monitoring with StatsD
Ruby
9
star
11

scout_apm_node

ScoutAPM Agent for NodeJS. Supports Express and other frameworks
TypeScript
8
star
12

scout_dogstatsd_ruby

Report Rails app performance metrics (response time, error rate, throughput, etc) via the DogStatsD client
Ruby
7
star
13

profile_it_agent

A Ruby gem for detailed in-browser Rails profiling analysis. Metrics are reported to profileit.io.
Ruby
6
star
14

ollama-django

Python
3
star
15

load_test_rails_4

Rails application to benchmark APM Agents.
Ruby
3
star
16

core-agent-api

Instrument apps written in languages Scout doesn't officially support with the Core Agent API
3
star
17

mtls_example

A quick launch mTLS repository.
Shell
2
star
18

scout-apm-symfony-bundle

ScoutAPM Support for Symfony Applications
2
star
19

scout_apm_go

Early experiment in Golang instrumentation
Go
2
star
20

standalone_grape_example

Example of how to monitor a Standalone Grape API with Scout APM
Ruby
2
star
21

scout-apm-lumen

2
star
22

fieldbook

The Rails Performance Field Guide
CSS
2
star
23

scout_help_sphinx

Scout Help Docs powered by Sphinx
1
star
24

rails_demo

Rails app for demo contains some common performance issues
Ruby
1
star
25

scout_signalfx_ruby

Bring key health metrics for your Ruby on Rails app into SignalFx
Ruby
1
star