opentelemetry_resource_detectors/lib.rs
1//! Representations of entities producing telemetry.
2//! ["standard attributes"]: <https://github.com/open-telemetry/opentelemetry-specification/blob/v1.9.0/specification/resource/semantic_conventions/README.md>
3//!
4//! # Resource detectors
5//!
6//! - [`OsResourceDetector`] - detect OS from runtime.
7//! - [`ProcessResourceDetector`] - detect process information.
8//! - [`HostResourceDetector`] - detect unique host ID.
9//! - [`K8sResourceDetector`] - detect Kubernetes information.
10mod host;
11mod k8s;
12mod os;
13mod process;
14
15pub use host::HostResourceDetector;
16pub use k8s::K8sResourceDetector;
17pub use os::OsResourceDetector;
18pub use process::ProcessResourceDetector;