We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d462b commit 7086a66Copy full SHA for 7086a66
opentelemetry/CHANGELOG.md
@@ -2,6 +2,27 @@
2
3
## vNext
4
5
+- **Breaking Change:** Updated the `SpanExporter` trait method signature:
6
+ ```rust
7
+ fn export(&mut self, batch: Vec<SpanData>) -> BoxFuture<'static, OTelSdkResult>;
8
+```
9
+ to
10
+```rust
11
+ fn export(
12
+ &mut self,
13
+ batch: Vec<SpanData>,
14
+) -> impl std::future::Future<Output = OTelSdkResult> + Send;
15
16
+ This affects the exporter devs, as custom implementations of SpanExporter
17
+ should now define export as an `async fn`:
18
19
+ impl trace::SpanExporter for CustomExporter {
20
+ async fn export(&mut self, batch: Vec<trace::SpanData>) -> OTelSdkResult {
21
+ // Implementation here
22
+ }
23
+}
24
25
+
26
## 0.28.0
27
28
Released 2025-Feb-10
0 commit comments