NOTICE: This artifact is deprecated and its contents have been moved to io.opentelemetry.instrumentation:opentelemetry-resources. Version 1.19.0 will be the last minor version published. However, it will continue to receive patches for security vulnerabilities, and
io.opentelemetry:opentelemetry-bom
will reference the last published version.
This package includes some standard ResourceProvider
s for filling in attributes related to
common environments. Currently the resources provide the following semantic conventions
Provider: io.opentelemetry.sdk.extension.resources.OsResource
Specification: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/resource/semantic_conventions/os.md
Implemented attributes:
os.name
os.description
Implementation: io.opentelemetry.sdk.extension.resources.ProcessResource
Implemented attributes:
process.pid
process.executable.path
(note, we assume thejava
binary is located in thebin
subfolder ofJAVA_HOME
)process.command_line
(note this includes all system properties and arguments when running)
Implementation: io.opentelemetry.sdk.extension.resources.ProcessRuntimeResource
Implemented attributes:
process.runtime.name
process.runtime.version
process.runtime.description
This package currently does not run on Android. It has been verified on OpenJDK and should work on other server JVM distributions but if you find any issues please let us know.