Skip to content

Commit 065b73e

Browse files
committed
feat(doc): Update documentation for bootstrap instrumentation helpers
1 parent e7c48db commit 065b73e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/how_instrumentations_work.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ classpath. For
176176
example, [`ShutdownInstrumentation`](https://github.com/DataDog/dd-trace-java/blob/3e81c006b54f73aae61f88c39b52a7267267075b/dd-java-agent/instrumentation/shutdown/src/main/java/datadog/trace/instrumentation/shutdown/ShutdownInstrumentation.java#L18)
177177
or [`UrlInstrumentation`](https://github.com/DataDog/dd-trace-java/blob/3e81c006b54f73aae61f88c39b52a7267267075b/dd-java-agent/instrumentation/http-url-connection/src/main/java/datadog/trace/instrumentation/http_url_connection/UrlInstrumentation.java#L21).
178178

179+
> [!NOTE]
180+
> Without classloader available, helper classes for bootstrap instrumentation must be place into the
181+
> `:dd-java-agent:agent-bootstrap` module rather than loaded using [the default mechanism](#helper-classes).
182+
179183
### Method Matching
180184

181185
After the type is selected, the type’s target members(e.g., methods) must next be selected using the Instrumentation

0 commit comments

Comments
 (0)