File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1896,7 +1896,7 @@ static PHP_INI_MH(nr_custom_events_max_samples_stored_mh) {
1896
1896
return SUCCESS ;
1897
1897
}
1898
1898
1899
- #define DEFAULT_WORDPRESS_HOOKS_OPTIONS "all_callbacks "
1899
+ #define DEFAULT_WORDPRESS_HOOKS_OPTIONS "plugin_callbacks "
1900
1900
static PHP_INI_MH (nr_wordpress_hooks_options_mh ) {
1901
1901
nrinistr_t * p ;
1902
1902
Original file line number Diff line number Diff line change @@ -1169,17 +1169,17 @@ newrelic.daemon.logfile = "/var/log/newrelic/newrelic-daemon.log"
1169
1169
; Setting: newrelic.framework.wordpress.hooks.options
1170
1170
; Type : string (all_callbacks, plugin_callbacks, threshold)
1171
1171
; Scope : per-directory
1172
- ; Default: all_callbacks
1172
+ ; Default: plugin_callbacks
1173
1173
; Info : Sets the options how WordPress hooks are instrumented.
1174
1174
;
1175
1175
; New Relic agent can provide different levels of insights into WordPress hooks.
1176
- ; By default, all hook callbacks functions are instrumented ("all_callbacks ").
1177
- ; To reduce agent's overhead it is possible to limit the instrumentation to only
1178
- ; plugin/theme callbacks ("plugin_callbacks") . Third option is to monitor hooks
1179
- ; without instrumenting callbacks ("threshold"). This option does not give insights
1180
- ; about plugins/themes.
1176
+ ; By default, only plugin/theme callbacks are instrumented ("plugin_callbacks ").
1177
+ ; At the cost of increased agent's overhead it is possible to extend the
1178
+ ; instrumentation to all hook callbacks functions ("all_callbacks")nly . Third option
1179
+ ; is to monitor hooks without instrumenting callbacks ("threshold"). This option
1180
+ ; does not give insights about plugins/themes.
1181
1181
;
1182
- ;newrelic.framework.wordpress.hooks.options = "all_callbacks "
1182
+ ;newrelic.framework.wordpress.hooks.options = "plugin_callbacks "
1183
1183
1184
1184
; Setting: newrelic.framework.wordpress.hooks.threshold
1185
1185
; Type : time specification string ("500ms", "1s750ms" etc)
You can’t perform that action at this time.
0 commit comments