|
5 | 5 | - Bump MSRV to 1.70 [#2179](https://github.com/open-telemetry/opentelemetry-rust/pull/2179)
|
6 | 6 | - Implement `LogRecord::set_trace_context` for `LogRecord`. Respect any trace context set on a `LogRecord` when emitting through a `Logger`.
|
7 | 7 | - Improved `LoggerProvider` shutdown handling to prevent redundant shutdown calls when `drop` is invoked. [#2195](https://github.com/open-telemetry/opentelemetry-rust/pull/2195)
|
8 |
| -- **BREAKING**: [#2217](https://github.com/open-telemetry/opentelemetry-rust/pull/2217) |
9 |
| - - **Replaced**: Removed `{Delta,Cumulative}TemporalitySelector::new()` in favor of directly using `Temporality` enum to simplify the configuration of MetricsExporterBuilder with different temporalities. |
10 | 8 | - When creating new metric instruments, SDK would return a no-op instrument if the validation fails. [#2166](https://github.com/open-telemetry/opentelemetry-rust/pull/2166)
|
11 |
| -- **Breaking change for Metrics users:** The `init` method used to create instruments has been renamed to `build`. |
12 |
| - |
13 |
| -Before: |
14 |
| -```rust |
15 |
| -let counter = meter.u64_counter("my_counter").init(); |
16 |
| -``` |
17 |
| - |
18 |
| -Now: |
19 |
| -```rust |
20 |
| -let counter = meter.u64_counter("my_counter").build(); |
21 |
| -``` |
| 9 | +- **BREAKING for Metrics users**: |
| 10 | + - **Replaced** |
| 11 | + - ([#2217](https://github.com/open-telemetry/opentelemetry-rust/pull/2217)): Removed `{Delta,Cumulative}TemporalitySelector::new()` in favor of directly using `Temporality` enum to simplify the configuration of MetricsExporterBuilder with different temporalities. |
| 12 | + - **Renamed** |
| 13 | + - ([#2232](https://github.com/open-telemetry/opentelemetry-rust/pull/2232)): The `init` method used to create instruments has been renamed to `build`. |
| 14 | + Before: |
| 15 | + ```rust |
| 16 | + let counter = meter.u64_counter("my_counter").init(); |
| 17 | + ``` |
| 18 | + Now: |
| 19 | + ```rust |
| 20 | + let counter = meter.u64_counter("my_counter").build(); |
| 21 | + ``` |
| 22 | + - ([#2255](https://github.com/open-telemetry/opentelemetry-rust/pull/2255)): de-pluralize Metric types. |
| 23 | + - `PushMetricsExporter` -> `PushMetricExporter` |
| 24 | + - `InMemoryMetricsExporter` -> `InMemoryMetricExporter` |
| 25 | + - `InMemoryMetricsExporterBuilder` -> `InMemoryMetricExporterBuilder` |
22 | 26 | - **BREAKING**: [#2220](https://github.com/open-telemetry/opentelemetry-rust/pull/2220)
|
23 | 27 | - Removed `InstrumentationLibrary` re-export and its `Scope` alias, use `opentelemetry::InstrumentationLibrary` instead.
|
24 | 28 | - Unified builders across signals
|
|
0 commit comments