We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e48e6f4 commit 4009de1Copy full SHA for 4009de1
opentelemetry-otlp/src/span.rs
@@ -159,4 +159,12 @@ impl opentelemetry_sdk::trace::SpanExporter for SpanExporter {
159
SupportedTransportClient::Http(client) => client.set_resource(resource),
160
}
161
162
+ fn shutdown(&self) -> OTelSdkResult {
163
+ match &self.client {
164
+ #[cfg(feature = "grpc-tonic")]
165
+ SupportedTransportClient::Tonic(client) => client.shutdown(),
166
+ #[cfg(any(feature = "http-proto", feature = "http-json"))]
167
+ SupportedTransportClient::Http(client) => client.shutdown(),
168
+ }
169
170
0 commit comments