Easily monitor the performance of your Grape application with the Scout Ruby gem. Scout automatically monitors the performance of your controller-actions, records transaction traces, and instruments many Ruby libraries like ActiveRecord, Net::HTTP, Redis, and more.
Key Grape Monitoring Features
Easy Agent Install
Installing Scout in your Grapea app is simple. Just install the gem, `require scout` after your other gems, then `ScoutApm::Rack.install!` right before you `run` your Sinatra app.
N+1 Query Detection
Active Record makes database ORM super easy. But it also makes it extremely easy for N+1 queries to slip into your code. Scout has you covered by detecting N+1 queries and even listing how much time you could save by fixing them.
GitHub Integration
Scout collects detailed traces of slow requests and, along with our GitHub integration, shows you the exact line of code responsible for the slow response time.
Deploy tracking
Compare performance data before and after deploys, know which branches were deployed and when.
Detailed Traces
Scout collects timing and performance metrics for every single transaction. In addition to those metrics, we collect detailed traces using a fine-tuned algorithm to select the most interesting transactions each minute.
Alerting
Alert your team of capacity and performance issues by setting thresholds to alert on overall or endpoint specific metrics.
Error Integrations
View your performance and error data in one place with our Rollbar, Sentry, Honeybadger, and Bugsnag integrations.
Custom Instrumentation
Gather performance metrics and insights into your own application’s code using our simple Custom Instrumentation methods.
Trace Explorer
Slice and dice the collected detailed traces by Controller-Action name, response time, your own Custom Context, and more. Find your slowest transaction from the last 7 days with just a few clicks.
QueueTime
Scout automatically measures the time the request takes from hitting your load balancer to when it actually gets to your app, indicating if requests are stacking up in the load balancer queue. If QueueTime goes up, it’s time to examine your request capacity.
Supported Frameworks
What else can you do with Scout?
See how performance looks for a specific user with Trace Explorer
Alert your team of capacity and performance issues
Identify 🐢 slow, frequently-used database queries
Compare performance between deploys with Deploy Tracking
Stay updated on performance trends and outliers with the Digest Email