New Relic

New Relic is a software analytics company based in San Francisco, California. New Relic's technology monitors Web and mobile applications in real-time that run in cloud, on-premise, or hybrid environments. You can easily setup a New Relic based monitoring on your application to monitor it and find performances problems.

New Relic can be used on Clever Cloud with Java, NodeJS, PHP, Ruby and Scala applications.

New Relic for NodeJS and Ruby

New Relic is very simple to install in a NodeJS or Ruby application as it is a simple dependency. Install instructions for NodeJS and Ruby are available in the New Relic documentation.

New Relic for Java, Scala and PHP

To use New Relic in Java, Scala or Ruby instances, you need to configure it as it is provided directly inside the instances.

New Relic for Python

To use New Relic in Python, you have to add the newrelic dependency into your requirements.txt file.

Necessary information

Before setting up your app, be sure to have a New Relic Account.

Configuration

To configure your New Relic, you can set the environment variables NEWRELIC_LICENSE and NEWRELIC_APPNAME (optionnal).

You can also create and add a ./clevercloud/newrelic.json file in your project, with the following fields:

{
  "license": "licenceID",
  "appname": "NameOfYourApp(optional)"
}

If the appname is not specified, we use your application Id for the name.

Deploy your application on Clever Cloud for the changes to take effect. A few minutes later, your application will begin sending data to New Relic. Once newrelic receives the data, your application will be listed in your dashboard.

Edit me on GitHub