opentelemetry-java-instrume.../instrumentation/oshi
Jay DeLuca 2849844d46
Change oshi test library logic for arm mac (#13465)
2025-03-07 13:33:47 -08:00
..
javaagent Support declarative configuration (#12265) 2024-10-15 20:56:27 -07:00
library Change oshi test library logic for arm mac (#13465) 2025-03-07 13:33:47 -08:00
testing Remove todo assignment (#12884) 2024-12-12 12:39:33 -08:00
README.md Update README.md (#10635) 2024-02-26 12:05:23 +02:00

README.md

Settings for the OSHI instrumentation

System property Type Default Description
otel.instrumentation.oshi.experimental-metrics.enabled Boolean false Enable the OSHI metrics.

Using OSHI with OpenTelemetry Java agent

Download oshi-core jar from https://search.maven.org/search?q=g:com.github.oshi%20AND%20a:oshi-core and place it on the class path. OpenTelemetry Java agent uses system class loader to load classes from the oshi-core jar that are used for the metrics.