File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 22
33## vNext
44
5+ - ` OtlpHttpClient.shutdown ` ` TonicLogsClient.shutdown ` , and ` TonicTracesClient.shutdown ` now explicitly return a result. The
6+ semantics of the method have not changed, but you will have a new lint encouraging you to consume these results.
7+
58## 0.27.0
69
710Released 2024-Nov-11
Original file line number Diff line number Diff line change 99 transparent change.
1010 [ #2338 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2338 )
1111 - ` ResourceDetector.detect() ` no longer supports timeout option.
12+ - The trait functions ` LogExporter.shutdown ` and ` TraceExporter.shutdown ` now explicitly return a result. The
13+ semantics of the method have not changed, but you will have a new lint encouraging you to consume these results.
1214
1315## 0.27.1
1416
Original file line number Diff line number Diff line change @@ -149,14 +149,7 @@ impl SpanProcessor for SimpleSpanProcessor {
149149 }
150150
151151 fn shutdown ( & self ) -> TraceResult < ( ) > {
152- if let Ok ( mut exporter) = self . exporter . lock ( ) {
153- exporter. shutdown ( ) ?;
154- Ok ( ( ) )
155- } else {
156- Err ( TraceError :: Other (
157- "SimpleSpanProcessor mutex poison at shutdown" . into ( ) ,
158- ) )
159- }
152+ self . exporter . lock ( ) ?. shutdown ( )
160153 }
161154
162155 fn set_resource ( & mut self , resource : & Resource ) {
Original file line number Diff line number Diff line change 22
33## vNext
44
5+ - ` LogExporter.shutdown ` and ` SpanExporter.shutdown ` now explicitly return a result. The
6+ semantics of the method have not changed, but you will have a new lint encouraging you to consume these results.
7+
8+
59## 0.27.0
610
711Released 2024-Nov-11
You can’t perform that action at this time.
0 commit comments