File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
opentelemetry-otlp/src/exporter/tonic Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ use opentelemetry_proto::tonic::collector::logs::v1::{
66} ;
77use opentelemetry_sdk:: error:: { OTelSdkError , OTelSdkResult } ;
88use opentelemetry_sdk:: logs:: { LogBatch , LogExporter } ;
9+ use std:: time;
910use tokio:: sync:: Mutex ;
1011use tonic:: { codegen:: CompressionEncoding , service:: Interceptor , transport:: Channel , Request } ;
1112
@@ -117,7 +118,7 @@ impl LogExporter for TonicLogsClient {
117118 . await
118119 }
119120
120- fn shutdown ( & self ) -> OTelSdkResult {
121+ fn shutdown_with_timeout ( & self , _timeout : time :: Duration ) -> OTelSdkResult {
121122 // TODO: Implement actual shutdown
122123 // Due to the use of tokio::sync::Mutex to guard
123124 // the inner client, we need to await the call to lock the mutex
You can’t perform that action at this time.
0 commit comments