* Handle ContainerResource edge case * Simplify container id logic Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com> * Start from one character after last '-' Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| build.gradle.kts | ||
README.md
OpenTelemetry Resource Providers
This package includes some standard ResourceProviders for filling in attributes related to
common environments. Currently the resources provide the following semantic conventions
Populated attributes
Operating System
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.nameos.description
Process
Implementation: io.opentelemetry.sdk.extension.resources.ProcessResource
Implemented attributes:
process.pidprocess.executable.path(note, we assume thejavabinary is located in thebinsubfolder ofJAVA_HOME)process.command_line(note this includes all system properties and arguments when running)
Java Runtime
Implementation: io.opentelemetry.sdk.extension.resources.ProcessRuntimeResource
Implemented attributes:
process.runtime.nameprocess.runtime.versionprocess.runtime.description
Platforms
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.