File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments