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/oshi-5.0.md.

OSHI

OpenTelemetry Java agent instrumentation

When the OSHI library is detected on the classpath, this instrumentation enables system metrics for memory, disk, and network operations.

  • Name: oshi-5.0
  • Scope: io.opentelemetry.oshi
  • Target versions: com.github.oshi:oshi-core:[5.0.0,)
  • Library: https://github.com/oshi/oshi/

Telemetry

  • Metrics: system.disk.io, system.disk.operations, system.memory.usage, system.memory.utilization, system.network.errors, system.network.io, system.network.packets, runtime.java.cpu_time, runtime.java.memory

Configuration

OptionTypeDefaultDescription
otel.instrumentation.oshi.experimental-metrics.enabledbooleanfalseEnable the experimental runtime.java.memory and runtime.java.cpu_time metrics.

Data

  • JSON: /data/javaagent/instrumentations/oshi-5.0/oshi-5.0-734c32477115.json
  • Explore: /java-agent/instrumentation/oshi-5.0