Developer mode losing samples
After I load a page in my dev app I can pull up RPM developer mode and see the pageload. I can even click on it, but if I go to the details view and click SQL, it says:
"No sample found with this id. Did you restart your application?"
What's going on here?
"No sample found with this id. Did you restart your application?"
What's going on here?
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Oh, and while we're at it, is there a way to see these kinds of detailed SQL traces in production? My development database is empty so it's not really as useful.
-
Inappropriate?Hi rmatei,
It sounds like you might be running Passenger - in development mode all data is kept in process memory and if you have more than one process handling requests you'll see the error you mention.
There is indeed a way to see SQL traces in production. It's a very cool feature of RPM called Transaction Tracer. If you'd like, we can set you up with a free week to try it out. It's available at our Silver and Gold subscription levels. Send an email to support@newrelic.com and we'll get you setup.
- Jim -
Inappropriate?Hi rmatei,
A quick check to see if you are still having trouble with this? Are you running Passenger by chance? If not, let us know the details of your environment (ruby/rails version, RPM agent version, etc.) and we'll try to track the problem down.
Thanks,
Steve -
Inappropriate?Thanks for checking in; I am indeed running Passenger in development.
How would I make it run a single process? Is that the same as setting the pool size to one? -
Inappropriate?Yes, set the pool size to one.
The company and 1 other person say
this solves the problem
Loading Profile...



EMPLOYEE
EMPLOYEE
EMPLOYEE