Struct opentelemetry::sdk::resource::TelemetryResourceDetector
source · pub struct TelemetryResourceDetector;Expand description
Detect the telemetry SDK information used to capture data recorded by the instrumentation libraries.
It provides:
- The name of the telemetry SDK(
telemetry.sdk.name). It will beopentelemetryfor SDK provided by opentelemetry project. - The language of the telemetry SDK(
telemetry.sdk.language). It will berustfor this SDK. - The version of the telemetry SDK(
telemetry.sdk.version). It will be currentopentelemetry_sdkcrate version.
Note that the telemetry.auto.version is not provided as of now.
See semantic conventions for details.
Trait Implementations§
source§impl Debug for TelemetryResourceDetector
impl Debug for TelemetryResourceDetector
Auto Trait Implementations§
impl RefUnwindSafe for TelemetryResourceDetector
impl Send for TelemetryResourceDetector
impl Sync for TelemetryResourceDetector
impl Unpin for TelemetryResourceDetector
impl UnwindSafe for TelemetryResourceDetector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more