App Traces with Precision and Versatility
Instantly identify performance bottlenecks with detailed transaction monitoring that reveal the full journey of each request, leading directly to the exact line of source code.
No Transaction Left Untraced!
Scout automatically collects and analyzes transactions across your web endpoints and background jobs. Visual indicators highlight performance hotspots, helping you quickly pinpoint issues down to the specific line of code, author, commit date, and deploy time. You can also optimize your traces with custom context – like user IDs, subscription tiers, or business metrics – for deeper insights and additional filtering options!
Summary view
Aggregates all identical method calls and ranks by total cost – perfect for quickly identifying your most expensive operations.
Timeline view
Shows the chronological execution order of every call, letting you see exactly how your code flows during a request – great for identifying issues like N+1 queries or blocking operations that delay other processes.
Get Answers Now with Scout's Awesome Trace Explorer
What was the slowest request yesterday? How is the app performing for user X? Which endpoints are generating the bulk of slow requests? Get answers to critical questions in seconds with Scout's powerful trace explorer!
Slowest requests
Identify poorly performing requests to focus your optimization efforts where it matters most.
User analysis
Track and analyze application performance across different users to understand their experience.
Problem endpoints
Spot endpoints generating excessive slow requests and impacting overall performance.
Custom filters
Filter transactions using any custom dimension to drill down into specific scenarios.
Visual insights
Explore and analyze trace metrics through interactive histograms that reveal patterns.
Live updates
Watch filtered trace lists update in real-time as you explore different performance dimensions.
Code Backtraces with GitHub Integration
If you've enabled GitHub integration, you can see the line of code, associated SQL or HTTP endpoint, and the author, commit date, and deployment time for the relevant slow code. If GitHub integration isn't enabled, you'll still see a detailed backtrace.
Monitor Database Performance with Deep SQL Insights
Stop wasting time hunting down database problems! Scout automatically sanitizes and captures SQL queries, letting you track database performance without compromising security. Spot N+1 problems instantly with inline annotations, and click the "SQL" button next to any call to view complete query details. For optimal performance, Scout limits query statement collection to 16k characters.
Add Scout to Your App
With monitoring that "just works" for Rails, Django and more, get running in minutes with Scout's streamlined setup. No extra code needed - just deploy our agent and start getting insights in 5 minutes.
Get started in under 3 minutes with our easy to install Ruby agent.
Install our gem. In your Gemfile:
gem 'scout_apm'Shell:
bundle installDownload your customized config file, placing it at config/scout_apm.yml.
Deploy.
Get started in under 3 minutes with our easy to install Python agent.
Install the package:
pip install scout-apmConfigure in your settings.py (Django):
# settings.py
INSTALLED_APPS = [
"scout_apm.django", # should be listed first
# ... other apps ...
]
# Scout settings
SCOUT_MONITOR = True
SCOUT_KEY = "[AVAILABLE IN THE SCOUT UI]"
SCOUT_NAME = "A FRIENDLY NAME FOR YOUR APP"Alternatively, use environment variables: SCOUT_MONITOR, SCOUT_NAME, SCOUT_KEY.
Deploy. Data appears in the Scout UI within approximately 5 minutes.
Get started in under 3 minutes with our easy to install PHP agent.
Install the package:
composer require scoutapp/scout-apm-laravelOptionally install the PHP extension:
sudo pecl install scoutapmConfigure in your .env file and deploy.
Get started in under 3 minutes with our easy to install Elixir agent.
Add to your mix.exs and run mix deps.get:
{:scout_apm, "~> 2.0"}Download your customized config and place it at config/scout_apm.exs.
Add instrumentation to lib/your_app_web.ex:
defmodule YourApp.Web do
def controller do
quote do
use Phoenix.Controller
use ScoutApm.InstrumentationDeploy.