WP New Relic Transactions WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
A companion plugin when using New Relic with WordPress, to improve the recorded transaction data
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alleyinteractive/wp-new-relic-transactions/archive/refs/heads/develop.zipOn Packagist as alleyinteractive/wp-new-relic-transactions:
composer require alleyinteractive/wp-new-relic-transactionsA companion plugin when using New Relic with WordPress, to improve the recorded transaction data.
Installation
You can install the package via composer:
composer require alleyinteractive/wp-new-relic-transactions
Usage
Simply activate the plugin in WordPress, no further action is necessary.
Transaction Names and Params
This plugin will name the requests, and apply the given custom attributes/parameters:
| Request type | Transaction Name |
|---|---|
| homepage and front page | homepage |
| feed | feed or feed.{feed type} |
| embed | embedParam: embed |
| 404 | error.404 |
| search | searchParam: s |
| privacy policy | privacy_policy |
| post type archive | archive.post_type.{post type} |
| taxonomy archive | taxonomy or taxonomy.{taxonomy}Params: term_id, slug |
| attachment | attachment |
| single post | post or post.{post type}Param: post_id |
| author archive | archive.author |
| date archive | archive.date |
| misc archive | archive |
| REST API request | {VERB} {Route}Params: wp-api = true, wp-api-route |
REST API Request Names
REST API requests get a special formatting. When possible, dynamic portions of the URL are replaced with angle brackets surrounding the name of the parameter. Further, the HTTP verb is included in the name.
For instance: GET /wp/v2/posts/\<id\>
Additional Custom Attributes
In addition to the above, requests should also include the following attributes/parameters for non-REST requests:
logged-in: Is the user logged in or notpaged:trueif the request is pagedpage: The page number if the request is paged
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
This project is actively maintained by Alley Interactive. Like what you see? Come work with us.
License
The GNU General Public License (GPL) license. Please see License File for more information.
Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.