Skip to content

Commit

Permalink
Revert "PHP Agent 10.20.0 release (April 30th)"
Browse files Browse the repository at this point in the history
  • Loading branch information
lavarou committed Apr 30, 2024
1 parent ff2138c commit ec0c963
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3248,19 +3248,18 @@ The values of these settings are used to control various tracer features.
</th>

<td>
`"plugin_callbacks"`
`"all_callbacks"`
</td>
</tr>
</tbody>
</table>
Sets the options how WordPress hooks are instrumented.
New Relic agent can provide different levels of insights into WordPress hooks.
By default, only plugin/theme callbacks are instrumented ("plugin_callbacks").
At the cost of increased agent's overhead it is possible to extend the
instrumentation to all hook callbacks functions ("all_callbacks"). Third option
is to monitor hooks without instrumenting callbacks ("threshold"). This option
does not give insights about plugins/themes. Read more about WordPress specific
instrumentation [here](/docs/agents/php-agent/frameworks-libraries/wordpress-specific-functionality).
By default, all hook callbacks functions are instrumented ("all_callbacks").
To reduce agent's overhead it is possible to limit the instrumentation to only
plugin/theme callbacks ("plugin_callbacks"). Third option is to monitor hooks
without instrumenting callbacks ("threshold"). This option does not give insights
about plugins/themes. Read more about WordPress specific instrumentation [here](/docs/agents/php-agent/frameworks-libraries/wordpress-specific-functionality).
</Collapser>

<Collapser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ newrelic.framework.wordpress.hooks = false
Although this setting uses the word `.hooks`, it controls capturing all WordPress-specific metrics.

New Relic PHP Agent version 10.16 adds `newrelic.framework.wordpress.hooks.options` `ini` setting that allows to fine tune which WordPress-specific metricsand what data is sent in those metrics.
This setting accepts following values: `"all_callbacks"` (New Relic PHP Agent version 10.16 default), `"plugin_callbacks"` (New Relic PHP Agent version 10.20 default), and `"threshold"`. `"all_callbacks"`
option causes all hook callback functions to be instrumented. `"plugin_callbacks"` and `"threshold"` settings allow to reduce agent's overhead by fine tuning data collected by the agent.
Setting `newrelic.framework.wordpress.hooks.options` to `"plugin_callbacks"` limits the instrumentation to only plugin/theme callbacks. Setting `newrelic.framework.wordpress.hooks.options` to `"threshold"`
disables plugins/themes monitoring and in this mode of operation New Relic PHP agent only records execution of hooks that exceed `newrelic.framework.wordpress.hooks.threshold` (1ms is the default threshold).
This setting accepts following values: `"all_callbacks"`, `"plugin_callbacks"`, and `"threshold"`. By default, all hook callback functions are instrumented (`newrelic.framework.wordpress.hooks.options="all_callbacks"`).
`"plugin_callbacks"` and `"threshold"` settings allow to reduce agent's overhead by fine tuning data collected by the agent. Setting `newrelic.framework.wordpress.hooks.options` to `"plugin_callbacks"`
limits the instrumentation to only plugin/theme callbacks. Setting `newrelic.framework.wordpress.hooks.options` to `"threshold"` disables plugins/themes monitoring and in this mode of operation
New Relic PHP agent only records execution of hooks that exceed `newrelic.framework.wordpress.hooks.threshold` (1ms is the default threshold).

## Metrics

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ The following frameworks are supported:

<tr>

<td>
Yii 2.0
</td>

</tr>

Expand Down

This file was deleted.

0 comments on commit ec0c963

Please sign in to comment.