opentelemetry-java-instrume.../instrumentation/oshi
Gregor Zeitlinger 749fafaea8
enforce static imports (#12009)
2024-08-21 10:40:50 -07:00
..
javaagent config properties support for spring starter clients (#11605) 2024-07-02 16:49:39 +03:00
library enforce static imports (#12009) 2024-08-21 10:40:50 -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.