Skip to content

Commit

Permalink
feat(PHP agent): Updates related to CLM on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mfulb committed Feb 6, 2023
1 parent 9c1eb68 commit e080f61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3557,7 +3557,7 @@ This section lists the settings that affect the reporting of code level metrics.
</th>

<td>
`false`
`true`
</td>
</tr>
</tbody>
Expand All @@ -3566,7 +3566,8 @@ This section lists the settings that affect the reporting of code level metrics.
Enable or disable the collection of code level metrics.

<Callout variant="important">
The `newrelic.code_level_metrics.enabled` INI variable was added in the 10.4.0.316 release and is disabled by default.
The `newrelic.code_level_metrics.enabled` INI variable was added in the 10.4.0.316 release and was disabled by default.
Code level metrics are enabled by default starting with version 10.6.0.
</Callout>

</Collapser>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ You can also change the entity for which you'd like to see code-level metrics vi
* **Python:** Requires Python agent version 7.10.0.175 or higher. Code-level metrics are only available for projects implemented with a [supported Python framework](/docs/apm/agents/python-agent/getting-started/instrumented-python-packages). If you're using VS Code, you must also have the [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) extension installed with the language server enabled.
* **Ruby:** Requires Ruby agent version 8.8.0 or higher. For version 8.10.0 or higher, code-level metrics are enabled by default. For versions 8.8.0 and 8.9.0, code-level metrics must be manually [enabled in the Ruby agent configuration](/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/#code_level_metrics-enabled). Code-level metrics are only available for Rails applications and Ruby methods with manual traces ([learn more about Ruby methods and CodeStream](/docs/apm/agents/ruby-agent/features/ruby-codestream-integration)). If you're using VS Code, you must also have either the [Ruby](https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby) or [Ruby Solargraph](https://marketplace.visualstudio.com/items?itemName=castwide.solargraph) extension installed with the language server enabled.
* **Go:** Requires Go agent version 3.19.2 or higher. Code-level metrics must also be [enabled in the Go agent configuration](/docs/apm/agents/go-agent/configuration/go-agent-code-level-metrics-config). If you're using VS Code, you must also have the [Go for VS Code](https://marketplace.visualstudio.com/items?itemName=golang.go) extension installed with the language server enabled.
* **PHP:** Requires PHP agent version 10.4.0 or higher. Code-level metrics must also be [enabled in the PHP agent configuration](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-code-level-metrics).
* **PHP:** Requires PHP agent version 10.4.0 or higher. For version 10.6.0 or higher, code-level metrics are enabled by default. For versions 10.4.0 through 10.5.0, code-level metrics must be manually [enabled in the PHP agent configuration](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-code-level-metrics).
* **Node.js:** Requires Node.js agent version 9.7.5 or higher. Code-level metrics must also be [enabled in the Node.js agent configuration](/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration/#code-level-metrics).

You can turn CodeLenses off by going to the CodeStream section of your IDE's settings and unchecking the **CodeStream: Show Golden Signals In Editor** setting.
Expand Down

0 comments on commit e080f61

Please sign in to comment.