Skip to content

Commit f51191c

Browse files
Add changelog entry
1 parent 88608c3 commit f51191c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

opentelemetry/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- *Breaking* Change return type of `opentelemetry::global::set_tracer_provider` to Unit to align with metrics counterpart
66
- 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`
78

89
## 0.30.0
910

@@ -105,10 +106,10 @@ let counter = meter.u64_counter("my_counter").build();
105106
- Replaced `global::meter_with_version` with `global::meter_with_scope`
106107
- Added `global::tracer_with_scope`
107108
- 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)
109110

110111
- **Breaking change**: [#2260](https://github.com/open-telemetry/opentelemetry-rust/pull/2260)
111-
- Removed `global::set_error_handler` and `global::handle_error`.
112+
- Removed `global::set_error_handler` and `global::handle_error`.
112113
- `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.
113114
- 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.
114115
- 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.
208209
opaque string. Migration: Replace `.with_unit(Unit::new("myunit"))` with
209210
`.with_unit("myunit")`.
210211

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.
212213
This method allows appenders to set the target/component emitting the logs.
213214

214215
## v0.23.0
@@ -229,7 +230,7 @@ This method allows appenders to set the target/component emitting the logs.
229230
- opentelemetry::global::shutdown_logger_provider
230231
- opentelemetry::global::logger_provider
231232
- opentelemetry::global::GlobalLoggerProvider
232-
- opentelemetry::global::ObjectSafeLoggerProvider
233+
- opentelemetry::global::ObjectSafeLoggerProvider
233234
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)
234235

235236
### Changed

0 commit comments

Comments
 (0)