You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry/CHANGELOG.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
-*Breaking* Change return type of `opentelemetry::global::set_tracer_provider` to Unit to align with metrics counterpart
6
6
- Add `get_all` method to `opentelemetry::propagation::Extractor` to return all values of the given propagation key and provide a default implementation.
7
+
- Add `ObservableHistogram`
7
8
8
9
## 0.30.0
9
10
@@ -105,10 +106,10 @@ let counter = meter.u64_counter("my_counter").build();
105
106
- Replaced `global::meter_with_version` with `global::meter_with_scope`
106
107
- Added `global::tracer_with_scope`
107
108
- Refer to PR description for migration guide.
108
-
-**Breaking change**: replaced `InstrumentationScope` public attributes by getters [#2275](https://github.com/open-telemetry/opentelemetry-rust/pull/2275)
109
+
-**Breaking change**: replaced `InstrumentationScope` public attributes by getters [#2275](https://github.com/open-telemetry/opentelemetry-rust/pull/2275)
- Removed `global::set_error_handler` and `global::handle_error`.
112
+
- Removed `global::set_error_handler` and `global::handle_error`.
112
113
-`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.
113
114
- The default behavior of `global::handle_error` was to log the error using `eprintln!`. With otel macros, the internal logs get emitted via `tracing` macros of matching severity. Users now need to configure a `tracing` layer/subscriber to capture these logs.
114
115
- Refer to PR description for migration guide. Also refer to [self-diagnostics](https://github.com/open-telemetry/opentelemetry-rust/tree/main/examples/self-diagnostics) example to learn how to view internal logs in stdout using `tracing::fmt` layer.
@@ -208,7 +209,7 @@ to learn how to provide Observable callbacks.
208
209
opaque string. Migration: Replace `.with_unit(Unit::new("myunit"))` with
209
210
`.with_unit("myunit")`.
210
211
211
-
-[1869](https://github.com/open-telemetry/opentelemetry-rust/pull/1869) Introduced the `LogRecord::set_target()` method in the log bridge API.
212
+
-[1869](https://github.com/open-telemetry/opentelemetry-rust/pull/1869) Introduced the `LogRecord::set_target()` method in the log bridge API.
212
213
This method allows appenders to set the target/component emitting the logs.
213
214
214
215
## v0.23.0
@@ -229,7 +230,7 @@ This method allows appenders to set the target/component emitting the logs.
229
230
- opentelemetry::global::shutdown_logger_provider
230
231
- opentelemetry::global::logger_provider
231
232
- opentelemetry::global::GlobalLoggerProvider
232
-
- opentelemetry::global::ObjectSafeLoggerProvider
233
+
- opentelemetry::global::ObjectSafeLoggerProvider
233
234
For creating appenders using Logging bridge API, refer to the opentelemetry-tracing-appender [example](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-appender-tracing/examples/basic.rs)
0 commit comments