Skip to content

Commit d13bf93

Browse files
committed
chore: update CHANGELOG for tracer provider global shutdown removal
1 parent 4e264e6 commit d13bf93

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

opentelemetry-sdk/CHANGELOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
## vNext
44

5-
- *Breaking* SimpleLogProcessor modified to be generic over `LogExporter` to
6-
avoid dynamic dispatch to invoke exporter. If you were using
7-
`with_simple_exporter` to add `LogExporter` with SimpleLogProcessor, this is a
8-
transparent change.
9-
[#2338](https://github.com/open-telemetry/opentelemetry-rust/pull/2338)
5+
- *Breaking*
6+
- SimpleLogProcessor modified to be generic over `LogExporter` to
7+
avoid dynamic dispatch to invoke exporter. If you were using
8+
`with_simple_exporter` to add `LogExporter` with SimpleLogProcessor, this is a
9+
transparent change.
10+
[#2338](https://github.com/open-telemetry/opentelemetry-rust/pull/2338)
11+
- `opentelemetry::global::shutdown_tracer_provider()` Removed from the API, should now use `tracer_provider.shutdown()` see [#2369](https://github.com/open-telemetry/opentelemetry-rust/pull/2369) for a migration example. "Tracer provider" is cheaply cloneable, so users are encouraged to set a clone of it as the global (ex: `global::set_tracer_provider(provider.clone()))`, so that instrumentations and other components can obtain tracers from `global::tracer()`. The tracer_provider must be kept around to call shutdown on it at the end of application (ex: `tracer_provider.shutdown()`)
1012

1113
## 0.27.1
1214

0 commit comments

Comments
 (0)