This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/apache-dubbo-2.7.md.
Apache Dubbo
OpenTelemetry Java agent instrumentation
The Apache Dubbo instrumentation provides RPC client spans and metrics, and RPC server spans and metrics for Apache Dubbo RPC calls.
- Name:
apache-dubbo-2.7 - Scope:
io.opentelemetry.apache-dubbo-2.7 - Target versions:
org.apache.dubbo:dubbo:[2.7,) - Library: https://github.com/apache/dubbo/
Telemetry
When default
Metrics
| Metric | Instrument | Type | Unit | Description |
|---|
rpc.client.duration | histogram | HISTOGRAM | ms | The duration of an outbound RPC invocation. |
rpc.server.duration | histogram | HISTOGRAM | ms | The duration of an inbound RPC invocation. |
| Metric | Attributes |
|---|
rpc.client.duration | rpc.method (STRING), rpc.service (STRING), rpc.system (STRING), server.address (STRING), server.port (LONG) |
rpc.server.duration | rpc.method (STRING), rpc.service (STRING), rpc.system (STRING) |
Spans
| Span kind | Attributes |
|---|
| CLIENT | peer.service (STRING), rpc.method (STRING), rpc.service (STRING), rpc.system (STRING), server.address (STRING), server.port (LONG) |
| SERVER | network.peer.address (STRING), network.peer.port (LONG), rpc.method (STRING), rpc.service (STRING), rpc.system (STRING) |
When otel.semconv-stability.opt-in=rpc,service.peer
Metrics
| Metric | Instrument | Type | Unit | Description |
|---|
rpc.client.call.duration | histogram | HISTOGRAM | s | Measures the duration of outbound remote procedure calls (RPC). |
rpc.server.call.duration | histogram | HISTOGRAM | s | Measures the duration of inbound remote procedure calls (RPC). |
| Metric | Attributes |
|---|
rpc.client.call.duration | rpc.method (STRING), rpc.system.name (STRING), server.address (STRING), server.port (LONG) |
rpc.server.call.duration | rpc.method (STRING), rpc.system.name (STRING) |
Spans
| Span kind | Attributes |
|---|
| CLIENT | error.type (STRING), rpc.method (STRING), rpc.system.name (STRING), server.address (STRING), server.port (LONG), service.peer.name (STRING) |
| SERVER | error.type (STRING), network.peer.address (STRING), network.peer.port (LONG), network.type (STRING), rpc.method (STRING), rpc.method_original (STRING), rpc.system.name (STRING) |
Configuration
| Option | Type | Default | Description |
|---|
otel.instrumentation.common.peer-service-mapping | map | | Used to specify a mapping from server addresses or configured targets to peer services. Configured targets containing commas or equals signs can only be mapped with declarative service_peer_mapping. |
Data