opentelemetry-java-instrume.../instrumentation/methods
Gregor Zeitlinger bc1c3844ff
add testing extension for declarative config (#14228)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-07-22 11:00:04 +03:00
..
javaagent add testing extension for declarative config (#14228) 2025-07-22 11:00:04 +03:00
README.md Add descriptions for modules related to custom instrumentation (#13704) 2025-04-14 13:47:50 -07:00
metadata.yaml Add descriptions for modules related to custom instrumentation (#13704) 2025-04-14 13:47:50 -07:00

README.md

Settings for the methods instrumentation

Provides a flexible way to capture telemetry at the method level in JVM applications. By weaving instrumentation into targeted methods at runtime based on the "otel.instrumentation.methods.include" configuration property, it measures entry and exit points, execution duration and exception occurrences. The resulting data is automatically translated into OpenTelemetry traces.

System property Type Default Description
otel.instrumentation.methods.include String None List of methods to include for tracing. For more information, see Creating spans around methods with otel.instrumentation.methods.include.