Questions tagged [newrelic]

New Relic is a web and mobile application performance monitoring service for Ruby, Java, .NET, PHP, Python, Node.js, Go, Android, and iOS apps.

New Relic is a web application performance monitoring service.
It has support for the following languages/frameworks:

For a single-page application (SPA), it also has specific instrumentation instructions:

Free and paid (more features) subscriptions available.

You are invited to join New Relic's Community Support forum for help from New Relic staff and customers.

Formerly "New Relic RPM". The Ruby gem is named newrelic_rpm.

Documentation

1430 questions
12
votes
4 answers

Rails server won't start because of new relic error

When I try to start my Rails server, I am getting the following error: I am using ruby 1.9.2 => Booting WEBrick => Rails 3.1.8 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown…
Tony
  • 10,088
  • 20
  • 85
  • 139
11
votes
1 answer

cakephp - Controller::invokeAction taking lot of time

I am working on cakephp 2.x. I found in the transaction trace summary of New Relic, that there are some APIs which are taking a lot of time(almost 20-30 sec) to execute out of which almost 90% of the time is spent in the Controller::invokeAction…
avinashw50w
  • 158
  • 6
11
votes
3 answers

New Relic for Spring Boot

Recently, we convert a tomcat/spring app to spring boot. Everything is working fine apart from new relic. Is there a way I can easily config new relic with spring boot project. I don't want to hard code the location of new relic agent jar path, then…
jasonfungsing
  • 1,625
  • 8
  • 22
  • 34
11
votes
2 answers

NewRelic transaction traces in a Ruby Gem

I am developing a Ruby gem that I would like to add NewRelic monitoring to. The gem is used in a script that is run as a daemon and monitored by bluepill. I followed "Monitoring Ruby background processes and daemons" to get started. I confirmed the…
randombits
  • 47,058
  • 76
  • 251
  • 433
11
votes
2 answers

HTTP Header "X-NewRelic-ID"... What is it?

I am seeing some requests coming through one of my sites that have the X-NewRelic-ID request header attached. It's always in the form of a header. Does this identify a user or simply a unique request passing through one of their services? Thanks
ccagle8
  • 308
  • 1
  • 2
  • 12
11
votes
4 answers

Installing New Relic without adding license key to repo

I want to install New Relic on one of my open source rails applications (v 3.2.12). I don't want to have the license key in the repo. I'd like to load it with something like ENV. By default that's loaded in the newrelic.yml file. Where is that…
Cyrus
  • 3,687
  • 5
  • 35
  • 67
11
votes
3 answers

How to profile inconsistent H12 timeouts on Heroku

My users are seeing occasional request timeouts on Heroku. Unfortunately I can not consistently reproduce them which makes them really hard to debug. There's plenty of opportunity to improve performance - e.g. by reducing the huge number of database…
Sjors Provoost
  • 1,921
  • 1
  • 19
  • 34
10
votes
2 answers

Deploying New Relic on Heroku Cedar (PHP)

Has anyone succesfully deployed the New Relic addon to a PHP app running on Heroku Cedar stack? I'm running a fairly high traffic Facebook app on a few dynos and can't get it to work. The best info I can find details a Python deployment:…
rbaker86
  • 1,832
  • 15
  • 22
10
votes
3 answers

newrelic_rpm,rails gem showing no route in development

i need to check the performance of my rails application. i installed newrelic_rpm. In environment.rb , the following added: config.gem "newrelic_rpm" then, in browser i gave: http://localhost:3000/newrelic then, it shows the error message as…
jissy
  • 463
  • 5
  • 20
10
votes
2 answers

How much overhead does the NewRelic PHP agent add?

By no means, NewRelic is taking the world by storm with many successful deployments. But what are the cons of using it in production? PHP monitoring agent works as a .so extension. If I understand correctly, it connects to another system aggregation…
WooDzu
  • 4,771
  • 6
  • 31
  • 61
10
votes
2 answers

Newrelic developermode not working with ruby-prof

I'm using the newrelic_rpm developer mode locally in a rails 3.2 app. This is working fine. When I install ruby-prof and click "start profiling" in the newrelic local dashboard and go back to my app, every page in my app gives "undefined method…
Tim Diggins
  • 4,364
  • 3
  • 30
  • 49
9
votes
1 answer

How do I integrate NewRelic into a Node Typescript Express server bundled with Webpack?

Frankly, I've tried it all. I'm not a total whiz with Webpack, however I seem to be getting along pretty well over the years with configuring new projects. What I cannot seem to do now is set up the NewRelic service into an existing…
beauXjames
  • 8,222
  • 3
  • 49
  • 66
9
votes
1 answer

How to differentiate Rails API calls in Newrelic?

I'm using Rails 5 to serve a website and a RESTful API, and I use Newrelic (newrelic_rpm gem) to monitor the application performance. At the moment, the gem monitor to all requests to one application name. let's say my routes looks something…
Eki Eqbal
  • 5,779
  • 9
  • 47
  • 81
9
votes
0 answers

What can cause MapRequestHandler to hang?

I am running a SOAP web service on IIS 8.5 on a Windows Server 2012 R2 x64 bit. Ever so often a request hangs. These requests will usually take about 60 ms but then sometimes it takes 45 secs or more. I have New Relic installed on the server, and…
Jay Pete
  • 4,123
  • 4
  • 35
  • 51
9
votes
1 answer

Why ActionDispatch::Routing::RouteSet takes so long

I am using Grape on top of Rails 4.2.1 to provide API for our application. But when I check Newrelic for performance today I found that RackApp Proc#call and Grape API::Root#call are taking up large amount of time. (See the screenshot) Then I…
larryzhao
  • 3,173
  • 2
  • 40
  • 62
1 2
3
95 96