newrelic

Should I group different servers into the same New Relic Application?

痴心易碎 提交于 2019-12-11 05:47:09
问题 I have an Application which require multiple Java servers, e.g. Tomcat & Solr. As they are also JVM based and used by a single web apps, so should I group them as a single Application ? 回答1: I'm making some assumptions here, but if all the components here are part of the same web application, then using the same New Relic application name should be the right way to go. (background: the 'application name' is used by New Relic to separate performance information out into a single heading. It

New Relic for Spring Boot

半城伤御伤魂 提交于 2019-12-10 03:03:46
问题 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 run the spring boot project with the path. edit: Spring boot project is with maven 回答1: You can include NewRelic Maven dependency and use maven-dependency-plugin to unpack in into your target/classes directory, which allows Maven to include it

NewRelic causing build errors

安稳与你 提交于 2019-12-08 05:34:00
问题 After adding the NewRelic sdk to my android project, every time i try to build for release, i get this really long warning/error on the gradle console which also impacts build time; the project now takes twice as long to build. 27t come with an","sources":[{}]} AGPBI: {"kind":"simple","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]} AGPBI: {"kind":"simple","text":"compiler that did not target the modern .class file format. The recommended",

Slow transactions in NewRelic having Play Framework as backend

江枫思渺然 提交于 2019-12-08 03:54:58
问题 could someone help me to read NewRelic Summary and Trace details. Following screenshots have trace for a single transaction, which do not create any query to the database. It is just a simple query with few lines of Scala template code, which renders HTML page and returns it to the client. This is just a single transaction that is currently running in production. Production has plenty of more complex transaction running which do lots of external calls to Mongo, Maria, Queue, etc. Does the

The target “/t:native_metrics” does not exist in the project

半城伤御伤魂 提交于 2019-12-07 07:57:20
问题 i want to install newrelic on my project but i'm receiving from de console: node_modules\@newrelic\native-metrics\build\bind ing.sln.metaproj : error MSB4057: The target "/t:native_metrics" does not exist in the project. in another machine works perfectly. i really would appreciate if some one could help with that, i already tried this from newrelic https://discuss.newrelic.com/t/newrelic-native-metrics-does-not-install-on-windows-10-from-corrupt-vcxproj/54625/3 回答1: This is most likely due

NewRelic causing build errors

时光毁灭记忆、已成空白 提交于 2019-12-06 21:29:25
After adding the NewRelic sdk to my android project, every time i try to build for release, i get this really long warning/error on the gradle console which also impacts build time; the project now takes twice as long to build. 27t come with an","sources":[{}]} AGPBI: {"kind":"simple","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]} AGPBI: {"kind":"simple","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]} AGPBI: {"kind":"simple","text":"solution is to recompile the class from source, using an

Copy a single dependency jar into a folder via build.sbt

痞子三分冷 提交于 2019-12-06 09:34:42
问题 During the stage task, I'd like sbt to grab the newrelic jar from the ivy repos and copy it into a folder. Ideally, the jar is configured the same way dependencies are, but not necessarily within the libraryDependencies Seq itself (as it's not a build or runtime dependency). 回答1: You could declare a new configuration Stage . You could set libraryDependencies to the desired value in that configuration. Later your stage task could read update report and copy the files to the desired directory.

Why ActionDispatch::Routing::RouteSet takes so long

懵懂的女人 提交于 2019-12-05 20:54:13
问题 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 tried to log the time consumed in middleware with rack_timer and found that ActionDispatch::Routing::RouteSet is taking up most of the time: Rack Timer (Application Action) -- ActionDispatch::Routing::RouteSet: 67.12579727172852 ms Rack Timer

The target “/t:native_metrics” does not exist in the project

自古美人都是妖i 提交于 2019-12-05 12:18:12
i want to install newrelic on my project but i'm receiving from de console: node_modules\@newrelic\native-metrics\build\bind ing.sln.metaproj : error MSB4057: The target "/t:native_metrics" does not exist in the project. in another machine works perfectly. i really would appreciate if some one could help with that, i already tried this from newrelic https://discuss.newrelic.com/t/newrelic-native-metrics-does-not-install-on-windows-10-from-corrupt-vcxproj/54625/3 This is most likely due to the version of node-gyp. A change was introduced into node-gyp version 3.7.0 that prepends /t: to the