- Logging : whatever ur application is logging, log it remotely
- Monitoring : Tracking cpu usage, memory usage, incoming & outgoing bandwidth, no of restarts..
- Alert : Send message whenever an event is triggered ( eg system goes down )
- Monitoring Dashboard : Help’s us to figure out what’s wrong
- Status Pages : Publicly available status pages for an application ( like aws ) helps us to know what services are up and running. Post updates ( we are currently solving this issue..)
Newrelic

- Infrastructure & OS : Linux
Architecture

Step 1 : Create EC2 Instance
- Create EC2 machine ( monitoring-machine )
- Add inbound rule ( open port 3000 where ur nodejs process is running )
- Add outbound rule ( Outbound port 443 (HTTPS) must be open in your EC2’s Security Group so the agent can send data to New Relic’s servers. )
# ssh into machine
ssh -i ~/.ssh/id_rsa_aws ubuntu@publicIP
Step 2 : Install New Relic