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 beopentelemetry
for SDK provided by opentelemetry project. - The language of the telemetry SDK(
telemetry.sdk.language
). It will berust
for this SDK. - The version of the telemetry SDK(
telemetry.sdk.version
). It will be currentopentelemetry_sdk
crate version.
See semantic conventions for details.
Trait Implementations§
source§impl Debug for TelemetryResourceDetector
impl Debug for TelemetryResourceDetector
Auto Trait Implementations§
impl Freeze for TelemetryResourceDetector
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