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

MetricInstrumentTypeUnitDescription
rpc.client.durationhistogramHISTOGRAMmsThe duration of an outbound RPC invocation.
rpc.server.durationhistogramHISTOGRAMmsThe duration of an inbound RPC invocation.
MetricAttributes
rpc.client.durationrpc.method (STRING), rpc.service (STRING), rpc.system (STRING), server.address (STRING), server.port (LONG)
rpc.server.durationrpc.method (STRING), rpc.service (STRING), rpc.system (STRING)

Spans

Span kindAttributes
CLIENTpeer.service (STRING), rpc.method (STRING), rpc.service (STRING), rpc.system (STRING), server.address (STRING), server.port (LONG)
SERVERnetwork.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

MetricInstrumentTypeUnitDescription
rpc.client.call.durationhistogramHISTOGRAMsMeasures the duration of outbound remote procedure calls (RPC).
rpc.server.call.durationhistogramHISTOGRAMsMeasures the duration of inbound remote procedure calls (RPC).
MetricAttributes
rpc.client.call.durationrpc.method (STRING), rpc.system.name (STRING), server.address (STRING), server.port (LONG)
rpc.server.call.durationrpc.method (STRING), rpc.system.name (STRING)

Spans

Span kindAttributes
CLIENTerror.type (STRING), rpc.method (STRING), rpc.system.name (STRING), server.address (STRING), server.port (LONG), service.peer.name (STRING)
SERVERerror.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

OptionTypeDefaultDescription
otel.instrumentation.common.peer-service-mappingmapUsed 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

  • JSON (latest): /data/javaagent/instrumentations/apache-dubbo-2.7/latest.json
  • JSON (pinned): /data/javaagent/instrumentations/apache-dubbo-2.7/apache-dubbo-2.7-fad8d0bf06e3.json
  • Explore: /java-agent/instrumentation/apache-dubbo-2.7