這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gigaom New Relic

外掛說明

Supports both New Relic APM and Browser monitoring to give a clear picture of how your site performs both on the server and in the browser.

Application Performance Monitoring (APM)

Automatically detects if the APM extensions are installed on the server. If so, the plugin will start reporting into the New Relic account associated with the license key used when installing the extension.

There’s no UI, but the plugin automatically sets the app name and other configuration values ideally for each request. The app name is based on the blog’s name. User-facing and dashboard activity are reported as separate apps so you can set different QoS and alert settings for each. Even cron and admin-ajax activity are separated out for individual tracking.

Each blog in a multi-site installation is tracked separately, using the name of the blog as the app name.

Browser monitoring (RUM)

Real user monitoring (browser monitoring) is automatically enabled if the APM extension is active, but in situations where the APM extension can’t be used, the plugin can still be used to track browser performance.

This mode requires some configuration:

  1. Get the tracking JavaScript from New Relic.
  2. Go to your WordPress dashboard -> Settings -> New Relic Settings and paste in the JavaScript
  3. Go to the New Relic dashboard to see your site reporting performance data!

The plugin extracts the configuration details from the JS and inserts them with a clean copy of the JS on each page (this cannot be used to inject arbitrary JS into the page).

Due to limitations of the Browser monitoring service/API, Browser-only monitoring does not include all the data or separate reporting of activity in separate apps as APM does.

In the WordPress.org plugin repo

Here: https://wordpress.org/plugins/go-newrelic/

Fork me!

This plugin is on Github: https://github.com/gigaOM/go-newrelic

螢幕擷圖

  • New Relic application list, showing two blogs. Each WordPress blog is reported as four applications in New Relic to separate reader, writer, cron, and admin-ajax activity for better detail and fine-grained control.
  • New Relic application overview, showing performance history for a single app.

安裝方式

  1. Install and activate New Relic’s PHP agent, https://docs.newrelic.com/docs/php/new-relic-for-php#installation
  2. The web server should appear in New Relic’s dashboard
  3. Download and activate this plugin from https://wordpress.org/plugins/go-newrelic/
  4. Go back to the New Relic dashboard and enjoy monitoring each WordPress blog (and different aspects of each blog)
  5. Follow the Gigaom engineering team at http://kitchen.gigaom.com and https://github.com/gigaom/

使用者評論

2016 年 10 月 10 日
Just ran across this. Easy way to get your WordPress site reporting data to your New Relic dashboard. If you have the New Relic software already installed on your server, you literally just install this plugin and it starts reporting within minutes. No settings required - just picks up your server settings. Doesn't get any simpler!
2016 年 9 月 3 日
a real great plugin, its really helpfull sorting out problems! Best regards Christian www.openandromaps.org
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Gigaom New Relic〉的開發相關工作。

參與者

將〈Gigaom New Relic〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄