5 releases (breaking)
new 0.6.0 | Nov 26, 2024 |
---|---|
0.5.0 | Oct 7, 2024 |
0.3.0 | Jul 16, 2024 |
0.2.0 | Jun 21, 2024 |
0.1.0 | Mar 19, 2024 |
#210 in Development tools
4,995 downloads per month
Used in 2 crates
16KB
279 lines
OpenTelemetry Resource Detectors
Community supported Resource detectors implementations for applications instrumented with OpenTelemetry
.
Overview
[The opentelemetry-resource-detectors
] crate provides a collection of tools to detect resources from the runtime. This crate provides additional detectors for OS and process-related resources. Despite not being included in the SDK due to their lack of stability, these detectors can facilitate gathering additional telemetry information.
Features
Detector | Implemented Resources | OS Supported | Semantic Conventions |
---|---|---|---|
ProcessResourceDetector | PROCESS_COMMAND_ARGS, PROCESS_PID | all | https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/process.md |
OsResourceDetector | OS_TYPE | all | https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/os.md |
HostResourceDetector | HOST_ID | linux | https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/host.md |
HostResourceDetector | HOST_ARCH | all | https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/host.md |
Dependencies
~2.3–3MB
~56K SLoC