You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Kotlin coroutine instrumentation relies on a shaded copy of the opentelemetry-extension-kotlin library. This can cause conflicts when the application itself also uses opentelemetry-extension-kotlin, because the shaded and unshaded versions store the OpenTelemetry context under different keys. To resolve this issue, this instrumentation modifies the application's copy of opentelemetry-extension-kotlin so that it delegates to the shaded version bundled within the agent.
The external-annotations instrumentation acts as a "shim" that automatically instruments methods annotated with custom or third-party tracing annotations. This is particularly useful if you have existing annotations (such as a custom @Trace or third-party annotation) that you want to leverage with OpenTelemetry. At runtime, this module recognizes those annotations and applies the appropriate OpenTelemetry instrumentation logic, including span creation and context propagation. Covers many common vendor annotations by default, and additional annotations can be targeted using the configuration property "otel.instrumentation.external-annotations.include".
1962
1960
source_path: instrumentation/external-annotations
1963
1961
scope:
1964
1962
name: io.opentelemetry.external-annotations
1963
+
target_versions:
1964
+
javaagent:
1965
+
- Java 8+
1965
1966
- name: opentelemetry-extension-annotations-1.0
1967
+
description: |
1968
+
Instruments methods annotated with OpenTelemetry extension annotations, such as @WithSpan and @SpanAttribute.
Collects and reports metrics exposed through Java Management Extensions (JMX). It can be configured to extract JVM and application-level telemetry data from JMX MBeans such as memory usage, thread counts, and garbage collection statistics, and translate these measurements into OpenTelemetry metrics.
1974
1987
source_path: instrumentation/jmx-metrics
1975
1988
scope:
1976
1989
name: io.opentelemetry.jmx-metrics
1977
1990
- name: methods
1991
+
description: |
1992
+
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.
|`otel.instrumentation.external-annotations.include`| String | Default annotations | Configuration for trace annotations, in the form of a pattern that matches `'package.Annotation$Name;*'`. |
|`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`][cs]. |
|`otel.instrumentation.opentelemetry-annotations.exclude-methods`| String || All methods to be excluded from auto-instrumentation by annotation-based advices. |
0 commit comments