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/sofa-rpc-5.4.md.

SOFARPC

OpenTelemetry Java agent instrumentation

The SOFARPC instrumentation provides RPC client spans and metrics, and RPC server spans and metrics for SOFARPC RPC calls.

  • Name: sofa-rpc-5.4
  • Scope: io.opentelemetry.sofa-rpc-5.4
  • Target versions: com.alipay.sofa:sofa-rpc-all:[5.4.0,)
  • Library: https://github.com/sofastack/sofa-rpc/

Telemetry

  • Metrics: rpc.client.duration, rpc.server.duration
  • Span attributes: peer.service, rpc.method, rpc.service, rpc.system, server.address, server.port

Configuration

OptionTypeDefaultDescription
otel.instrumentation.common.peer-service-mappingmapUsed to specify a mapping from host names or IP addresses to peer services.

Data

  • JSON: /data/javaagent/instrumentations/sofa-rpc-5.4/sofa-rpc-5.4-c755d43010d1.json
  • Explore: /java-agent/instrumentation/sofa-rpc-5.4