File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opentelemetry-sdk/src/trace Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments