Skip to content

Commit af44506

Browse files
authored
LOPS-1952 drupal hook pantheon.yml config (#8948)
1 parent 069eca9 commit af44506

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/content/guides/new-relic/03-monitor-new-relic.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ Follow the steps below to configure the monitor service.
6767

6868
1. Click **Save monitor**.
6969

70+
## Enable Drupal Hooks & Modules Metrics
71+
72+
As of April 23, 2024, Drupal hooks & modules metrics are not reported by default. To enable this reporting, add the following to your site or upstream `pantheon.yml` file:
73+
74+
```yml:title=pantheon.yml
75+
new_relic:
76+
drupal_hooks: true
77+
```
78+
79+
7080
## Focus on Authenticated Users Only
7181

7282
It can be useful to exclude anonymous users who are using your site's page cache if your site consists of mostly authenticated traffic. This technique will still capture form submissions, including logins and contact pages. Similar logic can be used to disable New Relic® on certain paths, such as `/admin` in Drupal or `/wp-admin` in WordPress.

0 commit comments

Comments
 (0)