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.
newrelic
1,465
questions
75
votes
7
answers
16k
views
How to apply plugin to only one flavor in gradle?
I have a multi-flavored, multi-build-typed android project and I want to integrate the NewRelic plugin. But I have to apply it only for one of the customers, thus only for one product flavor.
NewRelic ...
72
votes
4
answers
27k
views
Rails + New Relic: What does RPM mean?
I just started using New Relic RPM with my rails app, and one of the metrics they provide is "Throughput RPM". I have googled everywhere and thoroughly combed the New Relic docs, and I cannot find ANY ...
59
votes
4
answers
15k
views
What happens in BeginProcessRequest()?
We are using NewRelic to provide server-side application traces.
We have noticed that some of our applications consistently spend about 100ms in the method System.Web.Mvc.MvcHandler....
56
votes
1
answer
11k
views
Comparison between NewRelic and Azure Insights
I'm looking into using a performance and monitoring tool for my web application hosted on Azure.
I was wondering what the main differences are between Microsoft's Application Insights and New Relic?
...
44
votes
1
answer
3k
views
ExecuteRequestHandler spent most of the time
I'm working on some performance related tasks and using new relic to diagnose first.
Here is what I have got
I'm wondering is it possible to improve on the ExecuteRequestHandler part? Any help will ...
30
votes
3
answers
21k
views
long delays in AcquireRequestState
Using performance monitoring tool "New Relic" I am seeing occasional (but too many) long delays in the "AcquireRequestState". I am talking about 10, 20 second delays, sometimes minutes.
I know we ...
29
votes
3
answers
7k
views
Is there way to push NewRelic error manually?
In our Rails app we rescue most of the exceptions on ApplicationController to give correct API response, but still want to track errors happening using ErrorCollector. Is there a way to manually send ...
29
votes
8
answers
5k
views
Ignore persistent SignalR connections in New Relic
Where should I call NewRelic.Api.Agent.NewRelic.IgnoreApdex() or NewRelic.Api.Agent.NewRelic.IgnoreTransaction() in my SignalR hubs to prevent long-running persistent connections from overshadowing my ...
26
votes
2
answers
8k
views
Heroku Sporadic High Response Time
This is very specific, but I will try to be brief:
We are running a Django app on Heroku. Three servers:
test (1 web, 1 celery dyno)
training (1 web, 1 celery dyno)
prod (2 web, 1 celery ...
25
votes
3
answers
3k
views
NewRelic, async http handler and AcquireRequestState
I have a problem with one async handler in distributed ASP.NET web app. First let me explain a use case:
application uses IIS 8 on win 2012 machine with .NET Framework 4.5.2
application has disabled ...
24
votes
7
answers
10k
views
How does New Relic work?
How can New Relic tap into my app with a simple install? How does it know all the methods, requests, etc?
It works for RoR, PHP, etc.
Can anyone explain the technology behind it? I'm interested in ...
22
votes
2
answers
5k
views
Strange TTFB (time to first byte) issue on Heroku
We're in the process of improving performance of the our rails app hosted at Heroku (rails 3.2.8 and ruby 1.9.3). During this we've come across one alarming problem for which the source seems to be ...
21
votes
4
answers
6k
views
New Relic Class Not Found ... I don't even use new relic
I don't even use new relic and I'm getting errors for them. It just happened all of the sudden.
I'm using the latest Android Studio build (0.61). Even my master branch has the same error. There are ...
21
votes
2
answers
2k
views
Heroku push failing due to New Relic RPM gem
I've got gem 'newrelic_rpm' in my Gemfile as per Heroku's documentation. When I attempt to run git push heroku master I receive the following:
-----> Ruby/Rails app detected
-----> Installing ...
18
votes
6
answers
40k
views
Execution failed for task ':app:processReleaseGoogleServices'. > No matching client found for package name
Anytime I try to build my project I keep getting this error:
Execution failed for task ':app:processReleaseGoogleServices'.
No matching client found for package name 'com.my.package'
I have made and ...
18
votes
1
answer
8k
views
Setting up New Relic for Django development server
I am using Django and trying out New Relic. Is it possible to monitor the Django development server? I can only seem to find help on setting up New Relic with production servers.
Edit
'How to' for ...
17
votes
2
answers
15k
views
Couldn't find type for class Microsoft.WindowsAzure.Diagnostics
Just got back from holidays, and went in to make a couple small changes in our app, when I was confronted by this error:
Couldn't find type for class Microsoft.WindowsAzure.Diagnostics....
15
votes
3
answers
1k
views
ServiceStack with NewRelic monitoring
Does anyone have sample code for a ServiceStack Api that successfully reports transactions into NewRelic?
This doesn't appear to be trivial – it doesn't happen out of the box, and adding a ...
15
votes
2
answers
3k
views
New Relic graph zoom out
How can I zoom out on the New Relic graph? I must close the browser panel and open New Relic again in a new panel. Can I zoom out more comfortably?
15
votes
4
answers
5k
views
Unexpected SQL queries to Postgres database on Rails/Heroku
I was diving into a really long request to one of my Rails applications using NewRelic and found a number of SQL queries that appear entirely foreign that are taking up a significant length of time. I'...
15
votes
2
answers
6k
views
AcquireRequestState vs PreExecuteRequestHandler
We picked up quite a high number of ajax calls taking a significant amount of time in AcquireRequestState, in our travels we stumbled upon the session locking gem in ASP.Net so we implemented a custom ...
15
votes
1
answer
2k
views
Why is ASP compiling my views so frequently?
We have 4 servers load balanced:
4 cores @ 2.6Ghz (E5-2650 v2)
14GB RAM
Windows 2012 R2
High Performance power setting
IIS 8.5
ASP 5.3
EF 6.1
They each have a single application pool with one ...
14
votes
4
answers
7k
views
NewRelic - How to Ignore part of a web application
I'd like to tell NewRelic to not monitor a subset of my web application. For example I'd like to exclude http://mysite/admin/* so NewRelic won't count traffic against this portion of my app against ...
14
votes
4
answers
3k
views
New Relic for .Net? [closed]
Is there anything like New Relic for .Net apps?
14
votes
1
answer
2k
views
Heroku | how to read router logs
So my typical router log on the Cedar platform looks might look like
2012-03-22T18:26:34+00:00 heroku[router]: GET [my_url] dyno=web.9 queue=0 wait=0ms service=228ms status=302 bytes=212
2012-03-...
13
votes
2
answers
77k
views
Client timeout exceeded while awaiting headers
I got below error, I am using go v1.10.4 linux/amd64.
I am not behind any firewall or whatsoever. New Relic in java server (same network segment) that we have runs fine.
We have tried:
Increasing ...
12
votes
6
answers
3k
views
Error Deploying New Relic Instrumented Site to Azure from Github & VS.NET
I am getting the following error:
Error: The process cannot access the file 'C:\DWASFiles\Sites\mywebsitename\VirtualDirectory0\site\wwwroot\newrelic\NewRelic.Agent.Core.dll' because it is being used ...
12
votes
4
answers
2k
views
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
=&...
12
votes
2
answers
2k
views
Random slow Rack::MethodOverride#call on rails app on Heroku
Environment:
Ruby: 2.1.2
Rails: 4.1.4
Heroku
In our rails app hosted on Heroku, there are times that requests take a long time to execute. It is just 1% of times or less, but we cannot figure out ...
12
votes
2
answers
35k
views
How to make a curl request with json in jenkins pipeline groovy script
I am trying to make a New Relic deployment API call as a Jenkins build step using the Groovy pipeline. I'm having trouble because of the use of both single and double quotes within the shell ('sh') ...
12
votes
1
answer
2k
views
ExpressJS Middleware bodyParser has very poor performance
Few days ago we added NewRelic, APM to our Rest API, which is written in NodeJS and uses EXPRESS JS as a development framework.
Now we see a lot of users experience poor response times, because of ...
11
votes
4
answers
16k
views
PHP Startup: Unable to load dynamic library (NEW RELIC)
I am running Ubuntu 12.04 with Nginx and the latest PHP. The story goes like this:
I tried to install the new relic PHP agent per the instructions for ubuntu:
wget -O - http://download.newrelic.com/...
11
votes
4
answers
8k
views
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 ...
11
votes
3
answers
16k
views
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 ...
11
votes
2
answers
1k
views
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 ...
11
votes
2
answers
13k
views
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 ...
11
votes
3
answers
2k
views
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 ...
11
votes
1
answer
310
views
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 ...
11
votes
1
answer
6k
views
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 ...
10
votes
3
answers
6k
views
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/...
10
votes
2
answers
656
views
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, ...
10
votes
2
answers
2k
views
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 ...
10
votes
2
answers
4k
views
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 ...
9
votes
1
answer
3k
views
Analyzing high WSGI/Response time data of django with mod_wsgi on NewRelic
Project deployment as: django with apache mod_wsgi
Got New Relic lite version configured to track web performance.
On the New Relic -> Monitoring -> Web transactions panel -> Sort on Most time ...
9
votes
4
answers
2k
views
Java Play 2.2 doesn't support javaagent
With previous version of the Java Play framework, we could provide a command line argent to load monitoring agents. For example, NewRelic could be loaded as
./path/to/start -javaagent:/path/to/...
9
votes
3
answers
4k
views
New Relic Android agent error with gradle
I have a project that uses the gradle build system and I'm willing to add New Relic monitoring to it.
The project (including New Relic) is working fine on Linux (Fedora 20), but won't build on my ...
9
votes
8
answers
1k
views
NoClassDefFoundError on apps that doesn't have newrelic installed
I've installed newrelic for my android app using their guide for eclipse.
It is working ok on that app.
Now, if I create a simple hello world project i'm receiving a NoClassDefFoundError.
How can I ...
9
votes
1
answer
349
views
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 ...
9
votes
1
answer
601
views
Why is my code apparently calling LocalDataStoreMgr.GetNamedDataSlot?
When our ASP.NET website is under heavy load, every now and then, one of the servers will just go wild and use 100% CPU without responding at all. When I run stackdump.exe on the running process, I ...
9
votes
0
answers
2k
views
Execution failed for task ':app:dexBuilderDebug'
Im trying to build an android application using react native. Im new to mobile app development so Im not sure whats wrong here.
The application built successfully until I tried to add the newrelic ...