Steve Rao 6a11e50a7f Use namedOneOf instead of joining two named matchers (#11495) 9 月之前
..
javaagent 6a11e50a7f Use namedOneOf instead of joining two named matchers (#11495) 9 月之前
library bc48984714 Fix oshi library tests on arm mac (#11301) 10 月之前
testing 9ce68fb937 Fix metric units (#6931) 2 年之前
README.md 4ea4e1d4f1 Update README.md (#10635) 1 年之前

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.