open-telemetry / opentelemetry-rust-contrib

OpenTelemetry Contrib Packages for Rust
Apache License 2.0
29 stars 29 forks source link

feat: add opentelemetry-resource-detector crate #49

Closed rogercoll closed 4 months ago

rogercoll commented 4 months ago

Moves the implementation of the OS and Process resource detectors from the opentelemetry-sdk to its own contrib crate. The reason behind it is due to their experimental nature in semantic conventions:

Discussion: https://github.com/open-telemetry/opentelemetry-rust/pull/1610

Changes

Adds a new crate for contrib resource detectors.

Merge requirement checklist

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.5%. Comparing base (93dc0d9) to head (9805203).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #49 +/- ## ======================================= + Coverage 50.1% 50.5% +0.4% ======================================= Files 32 34 +2 Lines 4358 4397 +39 ======================================= + Hits 2184 2223 +39 Misses 2174 2174 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.