File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
opentelemetry-sdk/src/trace Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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.
99mod config;
1010mod events;
1111mod export;
Original file line number Diff line number Diff 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 ///
You can’t perform that action at this time.
0 commit comments