opentelemetry-java-instrume.../instrumentation/oshi
Steve Rao 6a11e50a7f
Use namedOneOf instead of joining two named matchers (#11495)
2024-05-30 13:16:35 -07:00
..
javaagent Use namedOneOf instead of joining two named matchers (#11495) 2024-05-30 13:16:35 -07:00
library Fix oshi library tests on arm mac (#11301) 2024-05-09 08:11:55 -07:00
testing Fix metric units (#6931) 2022-10-22 10:00:48 -07: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.