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
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.oshi.experimental-metrics.enabled | boolean | false | Enable the experimental runtime.java.memory and runtime.java.cpu_time metrics. |