# OpenTelemetry Instrumentation Annotations

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Java agent instrumentation

Instruments methods annotated with OpenTelemetry instrumentation annotations, such as @WithSpan and @SpanAttribute.

- **Name**: `opentelemetry-instrumentation-annotations-1.16`
- **Scope**: `io.opentelemetry.opentelemetry-instrumentation-annotations-1.16`
- **Target versions**: `io.opentelemetry:opentelemetry-instrumentation-annotations:(,)`

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `otel.instrumentation.opentelemetry-instrumentation-annotations.exclude-methods` | string |  | All methods to be excluded from auto-instrumentation by annotation-based advices. |

## Data

- **JSON**: [/data/javaagent/instrumentations/opentelemetry-instrumentation-annotations-1.16/opentelemetry-instrumentation-annotations-1.16-2ac1972da6ca.json](/data/javaagent/instrumentations/opentelemetry-instrumentation-annotations-1.16/opentelemetry-instrumentation-annotations-1.16-2ac1972da6ca.json)
- **Explore**: [/java-agent/instrumentation/opentelemetry-instrumentation-annotations-1.16](/java-agent/instrumentation/opentelemetry-instrumentation-annotations-1.16)
