Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scoutapp/scout_apm_ruby
ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks
https://github.com/scoutapp/scout_apm_ruby
apm monitoring performance-monitoring ruby ruby-on-rails
Last synced: 4 days ago
JSON representation
ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks
- Host: GitHub
- URL: https://github.com/scoutapp/scout_apm_ruby
- Owner: scoutapp
- License: other
- Created: 2015-07-04T03:26:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T17:19:56.000Z (20 days ago)
- Last Synced: 2025-01-02T08:08:10.675Z (11 days ago)
- Topics: apm, monitoring, performance-monitoring, ruby, ruby-on-rails
- Language: Ruby
- Homepage: https://scoutapm.com
- Size: 2.57 MB
- Stars: 203
- Watchers: 14
- Forks: 96
- Open Issues: 44
-
Metadata Files:
- Readme: README.markdown
- Changelog: CHANGELOG.markdown
- License: LICENSE.md
Awesome Lists containing this project
- awesome-ruby - Scout - Scout Ruby Application Monitoring Agent. (Performance Monitoring)
README
# ScoutApm Ruby Agent
[![Build Status](https://github.com/scoutapp/scout_apm_ruby/actions/workflows/test.yml/badge.svg)](https://github.com/scoutapp/scout_apm_ruby/actions)
A Ruby gem for detailed Rails application performance monitoring 📈. Metrics and transaction traces are
reported to [Scout](https://scoutapp.com), a hosted application monitoring
service.## What's the special sauce? 🤔
The Scout agent is engineered to do some wonderful things:
* A unique focus on identifying those hard-to-investigate outliers like memory bloat, N+1s, and user-specific problems. [See an example workflow](http://scoutapp.com/newrelic-alternative).
* [Low-overhead](http://blog.scoutapp.com/articles/2016/02/07/overhead-benchmarks-new-relic-vs-scout)
* View your performance metrics during development with [DevTrace](https://docs.scoutapm.com/#devtrace) and in production via [server_timing](https://github.com/scoutapp/ruby_server_timing).
* Production-Safe profiling of custom code via [ScoutProf](https://docs.scoutapm.com/#scoutprof) (BETA).## Getting Started
Add the gem to your Gemfile
gem 'scout_apm'
Add [a version of the `parser` gem that supports your version of Ruby](https://github.com/whitequark/parser?tab=readme-ov-file#backwards-compatibility). 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](https://scoutapm.com) 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: truetest:
monitor: falseproduction:
<<: *defaults## DevTrace Quickstart
To use DevTrace, our free, no-signup, in-browser development profiler:
1. Add the gem to your Gemfile:
```ruby
# Gemfile
gem 'scout_apm'
```2. 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](https://docs.scoutapm.com/).## Help
Email [email protected] if you need a hand.