The Yireo_NewRelic2 module for Magento 2 allows you to enhance the information passed on from Magento to the New Relic dashboard. The following guide helps you to install things.

Getting the source

To install this extension, first you will need to upload the PHP source to your Magento 2 site. There are two ways to do this: Via manual upload or via composer. We recommend to use composer, but for this you will need to have the proper knowledge.

To install the source by manual upload, first download the package source from our downloads page. Unpack the sources on your computer and then upload the contents to the Magento folder app/code/Yireo/NewRelic2 using FTP, SSH or git. Create this folder if it does not exist.

To install the source using composer, follow our guidelines on GitHub. This will place the files not in app/code but in vendor instead.

Enabling the module

Once the files are in place, you need to enable the module. This can be done from the command-line (SSH) using the following command:

bin/magento module:enable Yireo_NewRelic2

If your environment does not have SSH, modify the file app/etc/config.php manually and add a line like this to the list of existing modules:

'Yireo_NewRelic2' => 1,

Flush the cache

After this, flush the cache. After the cache is flushed, the module should be available in your backend.

Be aware that the procedure of running files within Magento is different in Production Mode or Developer Mode. Refer to the Magento documentation for dealing with things like static view file processing.

Posted on July 10, 2016

About the author

Author Jisse Reitsma

Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and 3x Magento Master. His passion is for technology and open source. And he loves talking as well.

Sponsor Yireo

Looking for a training in-house?

Let's get to it!

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.

Do not miss out on what we say

This will be the most interesting spam you have ever read

We don't write too commercial stuff, we focus on the technology (which we love) and we regularly come up with innovative solutions. Via our newsletter, you can keep yourself up to date on all of this coolness. Subscribing only takes seconds.