Skip to content

Commit c4518e0

Browse files
committed
chore: update CHANGELOG with breaking changes
1 parent 18d0b2d commit c4518e0

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

opentelemetry-otlp/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ Released 2024-Sep-30
4848
.build()?,
4949
).build();
5050
```
51+
- **Renamed**
52+
- ([#2255](https://github.com/open-telemetry/opentelemetry-rust/pull/2255)): de-pluralize Metric types.
53+
- `MetricsExporter` -> `MetricExporter`
54+
- `MetricsExporterBuilder` -> `MetricExporterBuilder`
5155

5256
## v0.25.0
5357

opentelemetry-sdk/CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@
55
- Bump MSRV to 1.70 [#2179](https://github.com/open-telemetry/opentelemetry-rust/pull/2179)
66
- Implement `LogRecord::set_trace_context` for `LogRecord`. Respect any trace context set on a `LogRecord` when emitting through a `Logger`.
77
- 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.
108
- 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`.
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))
14+
- The `init` method used to create instruments has been renamed to `build`.
15+
- ([#2255](https://github.com/open-telemetry/opentelemetry-rust/pull/2255)): de-pluralize Metric types.
16+
- `PushMetricsExporter` -> `PushMetricExporter`
17+
- `InMemoryMetricsExporter` -> `InMemoryMetricExporter`
18+
- `InMemoryMetricsExporterBuilder` -> `InMemoryMetricExporterBuilder`
1219

1320
Before:
1421
```rust

opentelemetry-stdout/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
## vNext
44

55
- Bump MSRV to 1.70 [#2179](https://github.com/open-telemetry/opentelemetry-rust/pull/2179)
6-
- **BREAKING**: [#2217](https://github.com/open-telemetry/opentelemetry-rust/pull/2217)
7-
- **Replaced**: The `MetricsExporterBuilder` interface is modified from `with_temporality_selector` to `with_temporality` example can be seen below:
6+
- **BREAKING**
7+
- **Replaced**
8+
- ([#2217](https://github.com/open-telemetry/opentelemetry-rust/pull/2217)): The `MetricsExporterBuilder` interface is modified from `with_temporality_selector` to `with_temporality` example can be seen below:
89
Previous Signature:
910
```rust
1011
MetricsExporterBuilder::default().with_temporality_selector(DeltaTemporalitySelector::new())
@@ -13,6 +14,10 @@
1314
```rust
1415
MetricsExporterBuilder::default().with_temporality(Temporality::Delta)
1516
```
17+
- **Renamed**
18+
- ([#2255](https://github.com/open-telemetry/opentelemetry-rust/pull/2255)): de-pluralize Metric types.
19+
- `MetricsExporter` -> `MetricExporter`
20+
- `MetricsExporterBuilder` -> `MetricExporterBuilder`
1621

1722
## v0.26.0
1823
Released 2024-Sep-30

0 commit comments

Comments
 (0)