Question

Integrate New Relic with DigitalOcean App Platform

I want to integrate a new relic with the digital ocean app platform in my node.js application, in the documentation of the new relic there is no option for that, the same with the digital ocean, since I can’t install the new relic in the app platforom.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

I recently had a similar discussion here:

https://www.digitalocean.com/community/questions/how-can-i-use-new-relic-in-digitalocean-app-platform

Besically, it should be ok to use their browser monitoring as it is just a matter of adding a single JavaScript snippet to your <meta> tag.

You can follow the steps on how to do that here:

https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/

Their PHP server metrics would not really work in this specific case due to the App Platform architecture I believe as you will not be able to install the New Relic agent:

https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-overview/#partnership-accounts

An option might be to create a Dockerfile and use that to add custom packages in there, which should work with the New Relic agent.

Hope that this helps!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel