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 2e5deca commit 4d15a16Copy full SHA for 4d15a16
opentelemetry-otlp/src/exporter/tonic/trace.rs
@@ -90,6 +90,11 @@ impl SpanExporter for TonicTracesClient {
90
}
91
92
fn shutdown(&self) -> OTelSdkResult {
93
+ // ToDo: as part of https://github.com/open-telemetry/opentelemetry-rust/pull/2812
94
+ // self is no longer mutable due to trait change for span exporter
95
+ // the shutdown for gRPC needs to implemented and tracked in
96
+ // https://github.com/open-telemetry/opentelemetry-rust/issues/2777
97
+ //
98
// match self.inner.take() {
99
// Some(_) => Ok(()), // Successfully took `inner`, indicating a successful shutdown.
100
// None => Err(OTelSdkError::AlreadyShutdown), // `inner` was already `None`, meaning it's already shut down.
0 commit comments