Skip to content

Commit 05b8f59

Browse files
committed
review comment
1 parent 3dbb66e commit 05b8f59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opentelemetry-sdk/src/trace/provider.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
///
1414
/// ## Cloning and Shutdown
1515
///
16-
/// The `TracerProvider` is designed to be lightweight and clonable. Cloning a `TracerProvider`
17-
/// creates a new reference to the same provider, not a new instance. Dropping the last reference
16+
/// The `TracerProvider` is designed to be clonable. Cloning a `TracerProvider` creates a
17+
/// new reference to the same provider, not a new instance. Dropping the last reference
1818
/// to the `TracerProvider` will automatically trigger its shutdown. During shutdown, the provider
1919
/// will flush all remaining spans, ensuring they are passed to the configured processors.
2020
/// Users can also manually trigger shutdown using the [`shutdown`](TracerProvider::shutdown)
@@ -136,7 +136,7 @@ impl Drop for TracerProviderInner {
136136

137137
/// Creator and registry of named [`Tracer`] instances.
138138
///
139-
/// `TracerProvider` is a lightweight container holding pointers to `SpanProcessor` and other components.
139+
/// `TracerProvider` is a container holding pointers to `SpanProcessor` and other components.
140140
/// Cloning a `TracerProvider` instance and dropping it will not stop span processing. To stop span processing, users
141141
/// must either call the `shutdown` method explicitly or allow the last reference to the `TracerProvider`
142142
/// to be dropped. When the last reference is dropped, the shutdown process will be automatically triggered

0 commit comments

Comments
 (0)