How to config Non Production(Staging) environment


We have New Relic configured and running in our Production environment and we used to capture Performance metrics(Page load) using Insights. Now we would like to config Staging environment in New Relic. Is this possible?

Kindly advice on this.


Hi @kavitha, Just wondering if you are looking to have the same code report to seperate Applications depending on whether it is in Production/Staging?

To achieve this you could use an Environment Variable for the environment, then depending on which is set, use a Switch Case to determine the Application ID it will report to. There is a great post on that here:

Let me know if that is what you’re looking for :slight_smile:

1 Like