The performance monitoring tool – newrelic

I come across an useful tool to monitoring web application performance — newrelic.com

It come very handy to find the root cause for the bottleneck issue in one of our PHP application. I managed to pinpoint where exactly the root cause of the problem from the useful graph of the newrelic dashboard.

If you are familiar with xdebug tool which can be used to drill down the function being called that lead to the highest load or waiting time.
Newrelic dashboard APM offer almost similar thing, but the different is almost realtime with the agent installed on the application host.

In order to install the newrelic agent, firstly you need to register an account in newrelic.com
Luckily they had just offered FREE access for minimal dashboard.
previously it had trial 14-days. the detail are as below.

You can head to their website to find out their features and sign up for its free access.
After signup you can then find the license_key that will be needed for the infra agent setup.

Sample of installation step for the centos or redhat based OS would be as simple as below:

# Create a configuration file and add your license key

echo "license_key: xxxxx" |  tee -a /etc/newrelic-infra.yml 

# Create the agent’s yum repository \
<

 curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/6/x86_64/newrelic-infra.repo 

# Update your yum cache

 yum -q makecache -y --disablerepo='*' --enablerepo='newrelic-infra' 

# Run the installation script

 yum install newrelic-infra -y

then just start it. and after few minutes of traffic, you can start analysing the result in the newrelic dashboard.

Goodluck!

Namran Hussin

a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~

Leave a Comment
Share
Published by
Namran Hussin

Recent Posts

How you can speak with clarity and influence

Here are five key communication skills that help you speak with clarity and influence: Speak…

7 months ago

? Man360 Academy Q&A Session Video Access – Empower Your Masculine Growth Journey

Are you ready to unlock your full potential as a man?Discover powerful insights, real-life transformations,…

1 year ago

A note to remember

One day we will set aside one whole day to review the whole lesson we…

1 year ago

Dev Fest KL 2024

Last weekend, 07/12/2024 I managed to join Dev Fest Kuala Lumpur 2024, organized by Google…

1 year ago

TIPS BACAAN AL-QURAN

TIPS BACAAN AL-QURANOleh: Dr. Muhd al-Muhaysni.1. Jangan engkau berikan (fokus membaca) al-Quran pada lebihan waktumu…

2 years ago

Selawat 300 ribu kali

Selawat yang ringkas, yang mana apabila kamu membacanya satu kali sebanding 100 ribu kali, jadi…

2 years ago