DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

How to Monitor WordPress Performance With New Relic

A practical guide to installing New Relic on WordPress, finding slow plugins and hooks, and correlating backend response time with real browser performance.
Length12 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To monitor a WordPress site with New Relic, install the Infrastructure agent and PHP agent on the WordPress host, give the application a clear name, restart Apache, Nginx, or PHP-FPM, then generate real requests. New Relic’s WordPress integration can show PHP transactions, hook and callback timing, plugin and theme attribution, MySQL and web-server activity, and browser timing in one investigation. Use the least detailed hook-instrumentation mode that answers your question so diagnostics do not add unnecessary overhead.

What New Relic can show in a WordPress performance investigation

WordPress performance problems are rarely explained by one number. A slow page can result from PHP execution, a plugin callback, a theme function, a database query, web-server queuing, or a browser-side asset. New Relic’s full-stack WordPress integration is designed to connect those layers instead of treating page speed and server response as separate subjects.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Application transactions: request paths and call duration reveal which WordPress requests consume the most time.
  • WordPress hooks and callbacks: instrumentation can measure hook execution time and callback counts, then attribute work to plugins and themes.
  • Dependencies: PHP application data can be viewed with MySQL and Apache telemetry, helping separate application code from database or server delays.
  • Browser experience: the PHP agent can inject New Relic’s browser agent automatically, or you can insert the generated browser header and footer manually to collect front-end timing.
  • Traffic context: the pre-built WordPress dashboard includes transactions, visitors, and call duration, so an isolated slow request can be distinguished from a problem that affects many visitors.

The result is a path from a symptom such as “the admin is slow” to a testable cause such as a particular callback, plugin, SQL dependency, or browser phase. New Relic describes the integration as monitoring a WordPress web application so that application issues can be diagnosed and code optimized.

Prerequisites and access you need

Before installing anything, establish what you control. The agents run on the server hosting WordPress, not inside the WordPress editor alone.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Check the WordPress and PHP environment

New Relic’s compatibility documentation lists WordPress 6.0 and later for WordPress-specific functionality. Confirm the site’s WordPress version, PHP version, operating system, web server, and PHP execution mode. The PHP agent must load into the PHP process that serves the site; installing it for a command-line PHP binary does not necessarily install it for PHP-FPM or the web server’s PHP module.

  • Record whether requests are handled by Apache, Nginx with PHP-FPM, or another supported arrangement.
  • Identify every PHP runtime that serves the site, including separate pools for the public site, administration, or staging.
  • Confirm that you can install a server package or ask the host to do so.
  • Keep a maintenance window available because the PHP extension and web-server or PHP-FPM configuration require a restart.

Decide whether you have sufficient hosting access

A virtual or dedicated server with root or administrative access generally permits the guided installer and service restarts. On managed or shared hosting, you may not be able to install a system extension, run the local proxy daemon, edit PHP configuration, or restart PHP-FPM. In that case, ask the provider whether it supports New Relic’s Infrastructure and PHP agents and whether it can assign an application name and license configuration for your site. If the provider cannot load the PHP extension, WordPress-only code changes cannot supply the same transaction and hook visibility.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare an application naming scheme

Choose a name that identifies both the site and environment, such as a production domain name and a separate staging name. Avoid using one application name for unrelated sites; that merges their transactions and makes plugin diagnosis ambiguous. If several PHP pools serve the same production site, configure them consistently so their data arrives in one intended application.

Install the Infrastructure and PHP agents

The Infrastructure agent supplies host and service context, while the PHP agent instruments WordPress requests. New Relic’s PHP agent has two basic components: a PHP extension that collects application data and a local proxy daemon that transmits it to New Relic.

1. Install the Infrastructure agent

  1. Open the New Relic installation flow for your server operating system and select the guided installer when your hosting permissions allow it.
  2. Run the installer with the required administrative privileges, or use the documented manual package method if your organization manages packages centrally.
  3. Confirm that the Infrastructure service starts at boot and that outbound communication to New Relic is permitted by the host firewall or egress policy.

The Infrastructure agent is not a replacement for the PHP agent. It adds host and service telemetry that helps explain PHP behavior, but WordPress transaction, hook, plugin, and theme detail comes from PHP instrumentation.

2. Install the PHP agent

  1. Use New Relic’s PHP installation instructions for the operating system and PHP version that actually serves WordPress.
  2. Install the PHP extension and the local proxy daemon as instructed for that environment.
  3. Apply the license and application settings in the PHP agent configuration. Keep the license value protected as a server secret rather than placing it in a public WordPress file.
  4. If the host has more than one PHP configuration, update the configuration loaded by the web-serving SAPI, not only the command-line configuration.

After installation, verify that the extension is loaded in the web-serving runtime. A command-line check can report a different PHP configuration from the one used by PHP-FPM, so confirm through the service configuration or the agent’s own startup log as well.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

3. Set the application name and restart services

Set a meaningful application name and the required license configuration, then restart the process that loads PHP:

  • Restart Apache when PHP is loaded as an Apache module.
  • Restart PHP-FPM, and reload or restart Nginx as required, when Nginx proxies requests to PHP-FPM.
  • Restart any separate PHP-FPM pools that serve WordPress administration, cron endpoints, or other site paths you intend to measure.

Without a restart, the new extension or configuration may not be present in existing worker processes. A successful package installation alone is not proof that WordPress requests are instrumented.

4. Generate traffic and allow data to arrive

  1. Open the public site and several representative URLs, including a page that normally feels slow.
  2. Sign in to the administration area only if you are comfortable including those requests in the selected application data.
  3. Exercise key actions such as search, checkout, publishing, or an API request when they are relevant to the site.
  4. Wait several minutes for application telemetry to populate before judging the installation.

New Relic cannot display a useful transaction profile for a site that has received no requests since the restart. Use normal, realistic requests rather than repeatedly refreshing one cached page.

Open the WordPress APM view and establish a baseline

In New Relic, open APM & services and select the WordPress application name you configured. The WordPress integration provides a pre-built dashboard with transactions, visitors, and call duration, along with PHP, Apache, and MySQL data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Start with transaction and call-duration data

Sort or filter transactions by call duration and request path. Look for concentration: a single endpoint that is consistently slow is a different problem from broad latency across every request. Inspect whether the time is spent in application code or in a dependency. A request with high PHP time but little database time points toward WordPress execution, hooks, or plugin logic; a request dominated by MySQL time needs database investigation instead.

  • Compare front-end page requests with administrative or asynchronous endpoints.
  • Check whether slow calls occur only during traffic spikes or remain slow at low traffic.
  • Record the time window, URL pattern, and affected environment before changing code, so later measurements are comparable.

Use visitors as impact context

A slow transaction serving one internal tool may have less user impact than a moderately slow transaction requested by most visitors. The dashboard’s visitor information helps prioritize work, but it does not by itself explain the cause. Pair reach with call duration and dependency timing.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Correlate PHP, Apache, and MySQL telemetry

Full-stack data lets you ask where the request’s elapsed time accumulated. Apache metrics can reveal web-server pressure, PHP data shows application execution, and MySQL telemetry can expose database waits or expensive queries. Correlation is more useful than treating any one layer’s average as a complete page-load measurement.

Find the slow WordPress plugin, theme, hook, or callback

WordPress-specific instrumentation is most useful when a transaction is already known to be slow. Start from the slow request, then drill into its hooks and callbacks rather than disabling plugins at random.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the hook-detail mode

The newrelic.framework.wordpress.hooks.options setting controls how much callback detail is recorded. The three documented choices are:

Mode What it records When to use it Trade-off
all_callbacks The broadest callback detail across instrumented hooks. Use when the responsible callback is unknown and you need a wide search. Produces the most detail and can add more instrumentation overhead.
plugin_callbacks Focuses on callbacks associated with plugins and themes. Use when you suspect extension or theme code and want a narrower view. Less broad than all-callback mode, so unrelated callback detail may be absent.
threshold Records hooks exceeding the configured threshold. Use when you need to surface only materially slow hooks. Very short callbacks are omitted; the documented default threshold is 1 ms.

Use the least detailed mode that answers the diagnostic question. Broad tracing is valuable during discovery, but leaving maximum detail enabled when you only need slow-hook alerts can increase data volume and overhead.

Trace a suspected slow request

  1. In APM, select the transaction pattern with the highest relevant call duration.
  2. Open a representative trace or breakdown and identify whether time is concentrated in WordPress hook execution, PHP application code, MySQL, or the web server.
  3. Review the recorded hook and callback names, execution time, and callback counts.
  4. Map the callback to the responsible plugin, theme, or custom code in the WordPress installation.
  5. Reproduce the same request after changing one factor, such as disabling a plugin in staging or adjusting its configuration.
  6. Compare the new transaction and hook timings over comparable requests before deploying the change.

Callback count matters as well as individual duration. A callback that takes little time once but runs hundreds of times can consume more request time than one visibly slow invocation.

Use a threshold when the list is noisy

Threshold mode is appropriate when a busy site produces too many small callbacks to inspect manually. The documented default is 1 ms; retain it when that granularity is useful, or set a threshold that matches the question you are answering. A higher threshold reduces detail and can hide cumulative work from many short callbacks, so do not use it as a substitute for a broad investigation when the culprit is unknown.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Monitor backend response and browser page performance together

APM transaction time describes work on the server. It does not equal the time a visitor waits for the complete page, because a browser must receive HTML, download assets, execute JavaScript, and render. New Relic’s browser monitoring adds that client-side perspective.

Automatic browser instrumentation

The PHP agent can inject the browser agent automatically. This is usually the simplest option when the generated markup is compatible with injection and your content-security policy permits the required scripts. Confirm that the resulting document contains the browser instrumentation and that cached HTML is not serving an old version after configuration changes.

Manual browser instrumentation

When automatic injection is unsuitable, use the generated browser header in the document’s <head> and place the generated footer immediately before </body>. In a WordPress theme, ensure the header code is emitted on every page intended for monitoring and the footer code runs before the closing body tag. A custom page template that omits the standard hooks can omit one of those locations, so verify the final HTML rather than assuming every template behaves identically.

Interpret the two timing layers

  • High backend time and high browser time: begin with the slow transaction, hook, plugin, database, or server dependency.
  • Low backend time and high browser time: investigate asset weight, third-party scripts, client-side JavaScript, rendering, or network conditions.
  • High backend time and modest browser time for some users: caching, geography, or sampling may be masking the server delay; compare the same request and audience carefully.

Browser data should complement, not replace, APM. A fast first byte can still lead to a slow interactive page, while a slow server response can dominate every front-end optimization.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot missing or incomplete data

Follow a fixed order so that WordPress code changes do not obscure an installation problem.

No application transactions appear

  1. Generate new requests after the restart; old requests cannot populate a newly configured application.
  2. Wait several minutes for application data to arrive.
  3. Confirm that the PHP extension is loaded by the web-serving SAPI, not only by CLI PHP.
  4. Check the configured license value and application name for the exact PHP runtime serving the site.
  5. Verify that Apache or PHP-FPM was actually restarted and that a second PHP pool is not serving the requests.
  6. Inspect the agent and service logs for startup, permission, or connection errors.

Application data appears, but browser data does not

Check whether automatic injection is enabled and whether the final HTML contains the browser header and footer. For manual instrumentation, confirm that the header is inside <head> and the footer is immediately before </body>. New Relic’s installation guidance directs readers to browser-monitoring troubleshooting when data is still absent after more than 15 minutes.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
  • Review the site’s content-security policy for blocked New Relic browser scripts or endpoints.
  • Check whether a cache, optimization plugin, proxy, or CDN removes or rewrites injected markup.
  • Look for content-length constraints or response transformations that prevent automatic injection.
  • Confirm that hosting permissions allow the agent to modify or observe the response path.

Hook detail is missing

Confirm that WordPress-specific functionality is supported by the installed agent and that the hook option is set to a mode that can capture the event. Threshold mode intentionally omits hooks below its threshold. If plugin or theme callbacks are absent in plugin_callbacks, temporarily use all_callbacks for discovery, then return to a narrower setting once the cause is known.

Data is present but appears inconsistent

Check whether requests are split across application names, PHP pools, staging and production, or cached paths that bypass PHP. Compare like-for-like URLs and time windows. Sampling and differing traffic patterns can make a single trace unrepresentative; use repeated requests and the dashboard’s visitor context before concluding that a change fixed the problem.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Installation choices by hosting model

Hosting situation Likely installation path What to verify
Server with root or administrative access Run the guided Infrastructure installer, install the PHP extension and proxy daemon, configure the application, and restart services. Correct web-serving PHP SAPI, outbound connectivity, service startup, and consistent naming.
Managed WordPress host that supports server agents Ask the provider to install and configure both agents or provide its supported procedure. Which PHP pools are covered, whether restarts are performed, and whether browser injection is permitted.
Shared hosting without extension or daemon access Provider involvement is required; a WordPress-only plugin cannot reproduce the server-side PHP agent. Whether the host supports New Relic at all and what telemetry level it can expose.
Staging and production environments Install the agents in each environment and use distinct application names. That test traffic does not merge with production transactions and that configuration changes are validated safely.

The meaningful comparison is not simply “automatic versus manual.” Evaluate installation access, backend depth, browser visibility, and the detail-versus-overhead setting. A host that permits browser scripts but not the PHP extension cannot provide the same plugin and transaction diagnosis.

Operational practices that keep monitoring useful

  • Start with a question: decide whether you are looking for a slow URL, a plugin callback, a database dependency, or a browser bottleneck before selecting maximum instrumentation.
  • Separate environments: use distinct names for production and staging so experiments do not contaminate the baseline.
  • Change one variable: disable or reconfigure one plugin, theme feature, query, or cache layer at a time when validating a hypothesis.
  • Preserve realistic traffic: include anonymous, logged-in, administrative, and asynchronous paths only when they represent the users you need to understand.
  • Recheck after upgrades: WordPress, PHP, plugins, themes, web servers, and agent versions can change the execution path or configuration that was previously measured.
  • Protect credentials: keep the New Relic license configuration on the server and restrict access to agent logs and configuration files.

Monitoring is most valuable when it shortens the loop between a reported slowdown, a measured transaction, a specific callback or dependency, and a controlled fix. Instrument broadly enough to find the cause, then narrow the detail once the cause is understood.

What this setup cannot establish by itself

New Relic telemetry identifies where monitored requests spend time; it does not prove that a particular code change is safe, that every visitor experiences the same latency, or that a one-time trace represents all traffic. The available documentation does not provide a universal benchmark for WordPress response time. Treat the dashboard as evidence for your site and workload, and validate changes with comparable requests, browser observations, and normal traffic after deployment.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.