opentelemetry-java-instrume.../instrumentation/oshi
Jay DeLuca 712e0a7acc
Remove todo assignment (#12884)
2024-12-12 12:39:33 -08:00
..
javaagent Support declarative configuration (#12265) 2024-10-15 20:56:27 -07:00
library enforce static imports (#12009) 2024-08-21 10:40:50 -07: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.