Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does New Relic work?

Tags:

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 tapping into my Rails app, but I want to do so smoothly like New Relic.

Thanks

like image 644
donald Avatar asked Jul 15 '11 10:07

donald


People also ask

What exactly does New Relic do?

New Relic is a Software as a Service offering that focuses on performance and availability monitoring. It uses a standardized Apdex (application performance index) score to set and rate application performance across the environment in a unified manner.

What is New Relic and how do you use it?

New Relic is an observability platform that helps you build better software. You can bring in data from any digital source so that you can fully understand your system and how to improve it.

How does New Relic insights work?

New Relic Insights is your key to unlocking the full value and potential within all of this data. Insights doesn't just collect and manage data; it performs a wide range of analytical tasks, and it presents insights using visualizations and other highly intuitive, easy to use tools.


1 Answers

First up, you will not manage to duplicate the functionality of NewRelic on your own. Ignoring the server-side, the rpm Gem is a pretty complex piece of software, doing a lot of stuff. Have a look at the source if you want to see how it hooks into the Rails system. The source is a worth a read, as it does some cool stuff in terms of threading and marshaling of the data before sending it back to their servers.

If you want a replacement because Newrelic is expensive (and rightly so, it's awesome at what it does), then have a look at the FreeRelic project on Github.

like image 137
Douglas F Shearer Avatar answered Sep 30 '22 18:09

Douglas F Shearer