Skip to content

Commit 00d0399

Browse files
committed
add changelog
1 parent 468a4a4 commit 00d0399

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

opentelemetry-sdk/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
- `ResourceDetector.detect()` no longer supports timeout option.
1212
- `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()`)
1313

14+
- *Breaking* : [#2314](https://github.com/open-telemetry/opentelemetry-rust/pull/2314)
15+
- The LogRecord struct has been updated:
16+
- All fields are now pub(crate) instead of pub.
17+
- Getter methods have been introduced to access field values.
18+
This change impacts custom exporter developers by requiring updates to code that directly accessed LogRecord fields. Exporters must now use the provided getter methods (e.g., `log_record.event_name()` instead of `log_record.event_name`).
19+
1420
## 0.27.1
1521

1622
Released 2024-Nov-27

0 commit comments

Comments
 (0)