Skip to content

Commit 8c10171

Browse files
committed
doc fixes
1 parent 03d5698 commit 8c10171

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

opentelemetry-sdk/src/trace/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
//!
33
//! The tracing SDK consist of a few main structs:
44
//!
5-
//! * The [`Tracer`] struct which performs all tracing operations.
5+
//! * The [`SdkTracer`] struct which performs all tracing operations.
66
//! * The [`Span`] struct with is a mutable object storing information about the
77
//! current operation execution.
8-
//! * The [`TracerProvider`] struct which configures and produces [`Tracer`]s.
8+
//! * The [`SdkTracerProvider`] struct which configures and produces [`SdkTracer`]s.
99
mod config;
1010
mod events;
1111
mod export;

opentelemetry-sdk/src/trace/provider.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl Drop for TracerProviderInner {
142142
}
143143
}
144144

145-
/// Creator and registry of named [`Tracer`] instances.
145+
/// Creator and registry of named [`SdkTracer`] instances.
146146
///
147147
/// `TracerProvider` is a container holding pointers to `SpanProcessor` and other components.
148148
/// Cloning a `TracerProvider` instance and dropping it will not stop span processing. To stop span processing, users
@@ -168,7 +168,7 @@ impl SdkTracerProvider {
168168
}
169169
}
170170

171-
/// Create a new [`TracerProvider`] builder.
171+
/// Create a new [`SdkTracerProvider`] builder.
172172
pub fn builder() -> TracerProviderBuilder {
173173
TracerProviderBuilder::default()
174174
}
@@ -391,10 +391,10 @@ impl TracerProviderBuilder {
391391
self
392392
}
393393

394-
/// Associates a [Resource] with a [TracerProvider].
394+
/// Associates a [Resource] with a [SdkTracerProvider].
395395
///
396396
/// This [Resource] represents the entity producing telemetry and is associated
397-
/// with all [Tracer]s the [TracerProvider] will create.
397+
/// with all [Tracer]s the [SdkTracerProvider] will create.
398398
///
399399
/// By default, if this option is not used, the default [Resource] will be used.
400400
///

0 commit comments

Comments
 (0)