newrelic / docs-website

Source code for @newrelic docs. We welcome pull requests and questions on our docs!
https://docs.newrelic.com
Other
175 stars 1.27k forks source link

Update install-nodejs-agent.mdx to add guide for pm2 deployment #19255

Closed tsq closed 2 weeks ago

tsq commented 2 weeks ago

I think there are many Node.js apps deployed using PM2, so I added a guide for it. I used this command, and it worked for me.

CLAassistant commented 2 weeks ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant commented 2 weeks ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

github-actions[bot] commented 2 weeks ago

Hi @tsq 👋

Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

We will automatically generate a preview of your request, and will comment with a link when the preview is ready (usually 10 to 20 minutes).

netlify[bot] commented 2 weeks ago

Deploy Preview for docs-website-netlify ready!

Name Link
Latest commit b19bebf47dbcc4d946818d7584d8be090f26c836
Latest deploy log https://app.netlify.com/sites/docs-website-netlify/deploys/67301b32d247780008da522e
Deploy Preview https://deploy-preview-19255--docs-website-netlify.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

rhetoric101 commented 2 weeks ago

@tsq thanks for your thoughtful suggestion! In this case, our developers prefer not to have multiple examples of starting Node.js with the agent. So, we're not going to add this PM2 reference.