# Apache Thrift

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

> OpenTelemetry Java agent instrumentation

This instrumentation enables RPC client and RPC server spans and metrics for Apache Thrift.

- **Name**: `thrift-0.13`
- **Scope**: `io.opentelemetry.thrift-0.13`
- **Target versions**: `org.apache.thrift:libthrift:[0.13.0,)`
- **Library**: https://thrift.apache.org

## Telemetry

- **Metrics**: `rpc.client.duration`, `rpc.server.duration`, `rpc.client.call.duration`, `rpc.server.call.duration`
- **Span attributes**: `network.peer.address`, `network.peer.port`, `network.type`, `rpc.method`, `rpc.service`, `rpc.system`, `server.address`, `server.port`, `network.local.address`, `network.local.port`, `error.type`, `rpc.system.name`

## Data

- **JSON**: [/data/javaagent/instrumentations/thrift-0.13/thrift-0.13-e9c94318bf18.json](/data/javaagent/instrumentations/thrift-0.13/thrift-0.13-e9c94318bf18.json)
- **Explore**: [/java-agent/instrumentation/thrift-0.13](/java-agent/instrumentation/thrift-0.13)
