Skip to content

Commit 9783477

Browse files
committed
clog
1 parent f4b3606 commit 9783477

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

opentelemetry-otlp/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
[#2770](https://github.com/open-telemetry/opentelemetry-rust/issues/2770)
99
partially to properly handle `shutdown()` when using `http`. (`tonic` still
1010
does not do proper shutdown)
11+
- *Breaking*
12+
ExporterBuilder's build() method now Result with `ExporterBuildError` being the
13+
Error variant. Previously it returned signal specific errors like `LogError`
14+
from the `opentelemetry_sdk`, which are no longer part of the sdk. No changes
15+
required if you were using unwrap/expect. If you were matching on the returning
16+
Error enum, replace with the enum `ExporterBuildError`. Unlike the previous
17+
`Error` which contained many variants unrelated to building an exporter, the
18+
new one returns specific variants applicable to building an exporter. Some
19+
variants might be applicable only on select features.
1120

1221
## 0.28.0
1322

opentelemetry-sdk/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@
6464
`LogExporter` trait no longer requires a mutable ref to `self`. If the exporter
6565
needs to mutate state, it should rely on interior mutability.
6666
[2764](https://github.com/open-telemetry/opentelemetry-rust/pull/2764)
67+
- *Breaking (Affects custom Exporter/Processor authors only)* Removed
68+
`opentelelemetry_sdk::logs::error::{LogError, LogResult}`. These were not
69+
intended to be public. If you are authoring custom processor/exporters, use
70+
`opentelemetry_sdk::error::OTelSdkError` and
71+
`opentelemetry_sdk::error::OTelSdkResult`.
72+
// PLACEHOLDER to fill in when the similar change is done for traces, metrics.
73+
// PLACEHOLDER to put all the PR links together.
6774

6875
## 0.28.0
6976

0 commit comments

Comments
 (0)