scoutapp/scout_apm_ruby
소개
ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalScoutApm Ruby Agent
A Ruby gem for detailed Rails application performance monitoring 📈. Metrics, errors and transaction traces are reported to Scout, a hosted application monitoring service. We have a free plan for small apps and a 14-day all-access trial to test out all the features. If you want to send us Rails logs, add our other gem and we will correlate them with your performance data!
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.
- Low-overhead
- Production-Safe profiling of custom code via 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. 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
Error Monitoring
All of our accounts include Error Monitoring with 5000 errors/month free. To enable it, add the following to your scout_apm.yml:
# Common/dev/production/etc. whereever you would like to start trying it
# monitor: true should also be required to ensure your App exists in Scout
errors_enabled: true
DevTrace Quickstart
To use DevTrace, our free, no-signup, in-browser development profiler:
- Add the gem to your Gemfile:
# Gemfile
gem 'scout_apm'
- 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.
관련 프로젝트 살펴보기
불러오는 중…