Crates.io | opentelemetry-resource-detectors |
lib.rs | opentelemetry-resource-detectors |
version | 0.5.0 |
source | src |
created_at | 2024-03-19 22:02:39.655759 |
updated_at | 2024-10-07 17:29:54.992794 |
description | A collection of community supported resource detectors for OpenTelemetry |
homepage | https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-resource-detectors |
repository | https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-resource-detectors |
max_upload_size | |
id | 1179743 |
size | 24,716 |
Community supported Resource detectors implementations for applications instrumented with [OpenTelemetry
].
[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.
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 |