newrelic_rpm not working with merb 1.0.8?
This is the error I get on startup:
newrelic_rpm-2.8.1/lib/new_relic/config/merb.rb:30:in `start_plugin': uninitialized constant NewRelic::Agent (NameError)
It's as if newrelic/agent.rb is never getting loaded... I can't seem to find where it is supposed to be getting required...
newrelic_rpm-2.8.1/lib/new_relic/config/merb.rb:30:in `start_plugin': uninitialized constant NewRelic::Agent (NameError)
It's as if newrelic/agent.rb is never getting loaded... I can't seem to find where it is supposed to be getting required...
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.
The company has acknowledged this problem.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?After further investigation new_relic/agent.rb is indeed never getting loaded. I added a
`require 'new_relic/agent'` to my init.rb and it seems to work now. It makes me feel a little worried though :). -
Inappropriate?Do you have a full stack trace for this?
Can you try 2.8.0 and see if you have the problem as well? -
Inappropriate?I may try 2.8.0 sometime down the road.
I actually just stumbled upon another zinger... I'm using merb-auth which allows you to throw Merb::Controller::Unauthenticated errors when you wish to inforce authentication. When this happens request.exceptions is actually nil...
This makes line 3 of:
newrelic_rpm-2.8.1/lib/new_relic/agent/instrumentation/merb/errors.rb
throw an exception because it calls first on request.exceptions. I even tried turning off exception logging with no luck. Is there a better place for bugs like these?
Cheers
I’m frustrated
-
Inappropriate?Yeah the best place for this is emailing to support@newrelic.com.
If you want to play around with a fix you can clone newrelic/rpm on github and send me a pull request if you have an idea for a fix. Otherwise I'll take a look at it as soon as I can.
Loading Profile...



EMPLOYEE