New Relic Logo

Drupal module for naming transactions in New Relic according to route, bundle, and role.

Why

By default, the transactions tab of New Relic is not very helpful with diagnosing performance issues with Drupal sites. Lacking information on the architecture of Drupal, New Relic categorizes transactions according to what functions are called the most, which often results in transactions that are grouped by low-level functions such as permission checking or menu loading, rather than the specific action that the user is trying to complete.

This module names transactions based on the routing information of the page request, giving clear indication of what action the user was trying to take on the site. For routes that have to do with entities, the id placeholder is replaced with the type of entity that is being accessed. The hightest-weighted role is appended to the transaction, so transactions can be grouped by whether users are anonymous, authenticated, or have other roles.

Requirements

This module requires the following PHP extensions:

Installation

Install as you would normally install a contributed Drupal module. For further information, see https://www.drupal.org/docs/extending-drupal/installing-drupal-modules .

Configuration

  1. Enable the module at Administration > Extend.
  2. Configure the module at admin/config/development/newrelic-transactions
  3. See the Status report page to ensure it's functioning correct at admin/reports/status
Supporting organizations: 
Development

Project information

Releases