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
@@ -3,6 +3,7 @@
3
3
## vNext
4
4
5
5
- Add `get_all` method to `opentelemetry::propagation::Extractor` to return all values of the given propagation key and provide a default implementation.
6
+
- Add `InMemorySpanExporter::resource` and `InMemoryLogExporter::resource` accessor methods.
6
7
7
8
## 0.30.0
8
9
@@ -104,10 +105,10 @@ let counter = meter.u64_counter("my_counter").build();
104
105
- Replaced `global::meter_with_version` with `global::meter_with_scope`
105
106
- Added `global::tracer_with_scope`
106
107
- Refer to PR description for migration guide.
107
-
-**Breaking change**: replaced `InstrumentationScope` public attributes by getters [#2275](https://github.com/open-telemetry/opentelemetry-rust/pull/2275)
108
+
-**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`.
111
+
- Removed `global::set_error_handler` and `global::handle_error`.
111
112
-`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.
112
113
- 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.
113
114
- 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.
@@ -207,7 +208,7 @@ to learn how to provide Observable callbacks.
207
208
opaque string. Migration: Replace `.with_unit(Unit::new("myunit"))` with
208
209
`.with_unit("myunit")`.
209
210
210
-
-[1869](https://github.com/open-telemetry/opentelemetry-rust/pull/1869) Introduced the `LogRecord::set_target()` method in the log bridge API.
211
+
-[1869](https://github.com/open-telemetry/opentelemetry-rust/pull/1869) Introduced the `LogRecord::set_target()` method in the log bridge API.
211
212
This method allows appenders to set the target/component emitting the logs.
212
213
213
214
## v0.23.0
@@ -228,7 +229,7 @@ This method allows appenders to set the target/component emitting the logs.
228
229
- opentelemetry::global::shutdown_logger_provider
229
230
- opentelemetry::global::logger_provider
230
231
- opentelemetry::global::GlobalLoggerProvider
231
-
- opentelemetry::global::ObjectSafeLoggerProvider
232
+
- opentelemetry::global::ObjectSafeLoggerProvider
232
233
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