Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update java-agent-configuration-config-file.mdx #18806

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2586,6 +2586,43 @@ Set instrumentation related settings in the `class_transformer` section. You can
This config exists in Java agent version 8.9.0+.
</Collapser>

<Collapser
id="ct-name_actuator_endpoints"
title="name_actuator_endpoints"
>
<table>
<tbody>
<tr>
<th>
Type
</th>

<td>
Boolean
</td>
</tr>

<tr>
<th>
Default
</th>

<td>
False
</td>
</tr>
</tbody>
</table>

By default, built-in actuator endpoints and custom actuator endpoints (using the `@endpoint` annotation and its subclasses) will all be named as `OperationHandler/handle` in New Relic. Enabling this
setting will result in the transaction name reflecting the actual base actuator endpoint URI. For example, invoking `/actuator/loggers` or `actuator/loggers/com.newrelic` will result in the
transaction name `actuator/loggers (GET)`. This is to prevent MGI.

Supported when using Spring Boot v3 and later.

This config exists in Java agent version 8.15.0+.
</Collapser>

<Collapser
id="ct-trace_annotation_class_name"
title="trace_annotation_class_name"
Expand Down
Loading