I am trying to install the newrelic agent for node js on our Ubuntu servers but facing with error:
curl -Ls https://raw.githubusercontent.com/newrelic/newrelic-cli/master/scripts/install.sh | bash && sudo NEW_RELIC_API_KEY=$OUR_GUID_LICENSE_KEY NEW_RELIC_ACCOUNT_ID=$ACCOUNT_ID NEW_RELIC_REGION=EU /usr/local/bin/newrelic install -n node-agent-installer
No Node processes found running on the host
==> Installing node-agent-installer…failed.
Another option just use standard install.
run “npm install newrelic --save”
Add to the app:
But in this case it just do not send the metrycs. Just greyed out icon in Newrelic APM.
Our os version is:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
We are using PM2 .
I have tried to do it on 5 different hosts with different running nodejs appications and only one of them shows green status in APM, but all of them are in green status in hosts. How it can be?
So, please advise what i am doing wrong. Are there some limitations in APM usage on a free tier?