Skip to content

Commit 3f883bf

Browse files
committed
add changelog, and migration guide
1 parent f1dfc15 commit 3f883bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

opentelemetry/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ let counter = meter.u64_counter("my_counter").build();
3333
- Replaced `global::meter_with_version` with `global::meter_with_scope`
3434
- Added `global::tracer_with_scope`
3535

36+
- **Breaking change**: [#2260](https://github.com/open-telemetry/opentelemetry-rust/pull/2260)
37+
- Removed `global::set_error_handler` and `global::handle_error`.
38+
- `global::handle_error` usage inside the opentelemetry crates has been replaced with `global::otel_info`, `otel_warn`, `otel_debug` and `otel_error` macros based on the severity of the internal logs.
39+
- The default behavior of `global::handle_error` was to log the error using `eprintln!`. With otel macro, user now need to configure the tokio tracing layer to capture these logs.
40+
- Refer to this PR description for migration guide. Also refer to [self-diagnostics](https://github.com/open-telemetry/opentelemetry-rust/tree/main/examples/self-diagnostics) example on how to configure the tracing layer for internal logs.
41+
3642
## v0.26.0
3743
Released 2024-Sep-30
3844

0 commit comments

Comments
 (0)