scoutapp / scout_apm_ruby

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

Home Page:https://scoutapm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue installing Scout APM Ruby in development

krishnadiamesso opened this issue · comments

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

After starting the server with SCOUT_DEV_TRACE=true rails server, where am I supposed to go to see the profiler?

@krishnadiamesso - I had the same question. After you get your server going, navigate to whatever page you're wanting to benchmark and there should be a small rectangle at the bottom lefthand corner of the screen with the time it took to load. When you click that, you can open up more info on where that measurement came from.
Screenshot 2023-08-22 at 8 17 40 AM

@krishnadiamesso - I had the same question. After you get your server going, navigate to whatever page you're wanting to benchmark and there should be a small rectangle at the bottom lefthand corner of the screen with the time it took to load. When you click that, you can open up more info on where that measurement came from. Screenshot 2023-08-22 at 8 17 40 AM

@brennacodes
Hello Brenna, Thank you so much for this. I will try it out. you have better eyes than I do. 👍