Can I disable New Relic for script/console and script/runner?
Having new relic report info for our console and runner and migrations invocations just screws up our data. Can we disable this somehow?
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Noah, can you try the latest version of the agent (2.8.2) and tell me if you still see this behavior?
-
Inappropriate?Yup - we are using 2.8.2
-
Inappropriate?can you describe in a little more detail what is happening? Is it uploading data to the server? or is it just that you noticed output to STDOUT?
When you run a rake task, does it create a newrelic_agent.?????.log file? If so, what is it called? -
Inappropriate?I get the following (sanitized) output when I run script/console
** [NewRelic] New Relic RPM Agent 2.8.2 Initialized: pid = 28904
** [NewRelic] Agent Log is found in /blah/log/newrelic_agent.jruby_Involver_Main_App__Staging_.log
fig.each do |cpc|
** [NewRelic] Connected to NewRelic Service at collector.newrelic.com:80
** [NewRelic] Reporting performance data every 60 seconds
We also have that server show up in our server list on the RPM web interface, and it never runs real server instances, only console and runner. -
Inappropriate?This looks like a bug in the jruby support. I'm afraid I don't have a good workaround for you but we'll look into a fix for the next major release.
-
Inappropriate?Any update on this issue ? We are running 2.9.2 and still see this issue.
-
Bhavin this should be working in that version of the agent. Can you please edit the newrelic.yml file, change the log_level to 'debug', then start up the script/console again? Then please send the log to me at support@newrelic.com. -
Inappropriate?I see the same thing here, and it's messing up our error reports (generates a mail to root for each of our periodical tasks, which messes up our support email). Happens in developer and production mode.
$ script/console
Loading development environment (Rails 2.2.2)
** [NewRelic] NewRelic Agent Developer Mode enabled.
** [NewRelic] To view performance information, go to http://localhost:3000/newrelic
** [NewRelic] New Relic RPM Agent 2.9.5 Initialized: pid = 14912
** [NewRelic] Agent Log found in /Users/thomasfuchs/Projekte/freckle/log/newrelic_agent.log
I’m frustrated
-
Inappropriate?Thomas, this will only happen if you have agent_enabled=true (or monitor_daemons=true). Is that right?
The only reason you would change that setting to true is if your dispatcher is not being recognized. Maybe FastCGI or LiteSpeed. Is that also the case?
Would be better if you could follow up with me by submitting a support issue at support.newrelic.com.
Loading Profile...



EMPLOYEE

