New Relic on VIP Go

VIP Go platform specific

This document is for sites running on VIP Go.

Learn more

Overview #

New Relic is available for clients running on our VIP Go platform. New Relic is an application monitoring platform and on VIP Go, you can use it to monitor the PHP (WordPress) code and browser performance of your site or application.

If your team would like to use New Relic, please contact us and we’ll be happy to arrange access for you. We do not charge for access to New Relic.

↑ Top ↑

What New Relic plan will I be running? #

The New Relic plan we run is as follows

  • Web Pro Annual – this is the PHP application monitoring which covers your WordPress application code
  • Mobile Lite
  • Insights Free
  • Browser Lite
  • Synthetics Lite

The differentiation mainly affects the retention of monitoring data, with Pro elements of the plan retaining data for longer than Lite elements.

↑ Top ↑

Which parts of the VIP infrastructure is New Relic installed on? #

New Relic is installed and activated on a maximum of 50% of web containers per WordPress environment. Typically, a non-production environment will run just two web containers (and will therefore have one New Relic instance), and the majority of our production environments run less than 15 web containers. The maximum number of New Relic instances per environment is 15.

By default, the New Relic agent is not activated on CLI containers for WordPress environments; these are the containers which run WP-CLI commands and these containers also run WordPress Cron events. If it is important to monitor the performance of your Cron events and WP-CLI commands, please get in touch and we can activate the New Relic activation on the CLI containers for any of your environments.

The New Relic agent is not installed on any other parts of our infrastructure (for example, the VIP CDN or database containers).

↑ Top ↑

How many users can I have accessing New Relic? #

As many as you require, please contact us with the email addresses of any team members who need access to your New Relic monitoring.

It is your responsibility to request leaving members of your teams have their New Relic access removed.

↑ Top ↑

Can I enable or disable New Relic Browser Monitoring? #

If your WordPress application was created before August 12, 2020, you have New Relic Browser Monitoring enabled by default.

To disable Browser Monitoring, you can use the newrelic_disable_autorum() function:

if ( function_exists( 'newrelic_disable_autorum' ) ) {

If your application was created on or after August 12, 2020, Browser Monitoring is disabled by default. To re-enable, remove the newrelic_disable_autorum() function call in your vip-config.php file.

↑ Top ↑

Can I use the New Relic PHP API and SDK to enhance the data captured by New Relic? #

New Relic maintains a suite of PHP functions which can be used to  add data to transactions, name transactions, etc, you can read more in their documentation. VIP uses this API to enhance the data provided by all VIP Go WordPress applications (see the code).

We don’t offer custom PHP INI configuration for individual WordPress applications (sites), but you may find that some of the configuration can be set in PHP at runtime using ini_set().

↑ Top ↑

Can I use my own New Relic account? #

The VIP team uses New Relic to monitor all the sites and applications on the VIP Go platform; therefore we require that your application uses the VIP New Relic account in order for us to continue doing so.

↑ Top ↑

How do I separate my app out on a per-site basis for multisite? #

For a site-per-app basis, you can use newrelic_set_appname() in vip-config.php or client-mu-plugins:

if ( extension_loaded( 'newrelic' ) && defined( 'VIP_GO_ENV' ) && 'production' === VIP_GO_ENV ) {
	newrelic_set_appname( $_SERVER['HTTP_HOST'] );

Depending on how your multisite structure is set up, you may need to set the application name accordingly (e.g. to account for paths in the application name if the sites share the same host domain). For example, if site 2 is and site 3 is, you’d want to distinguished between them:

function new_relic_appname() {
	// Ensure PHP agent is available and only when not the main site.
	// This is only because we want to keep the main site appname the same as before so all data/reports are in the same place.
	if ( extension_loaded( 'newrelic' ) && ! is_main_site() && defined( 'VIP_GO_ENV' ) && 'production' === VIP_GO_ENV ) {
		$parsed_site_url = wp_parse_url( site_url() );
		$path = $parsed_site_url['path'] ?? '';
		newrelic_set_appname( $_SERVER['HTTP_HOST'] . $path );
add_action( 'init', 'new_relic_appname', -1 );

↑ Top ↑

How do I use New Relic #

New Relic themselves maintain documentation:

If you have any further questions, please feel free to contact us and we’ll be happy to help where we can.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.