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::{
6
6
} ;
7
7
use opentelemetry_sdk:: error:: { OTelSdkError , OTelSdkResult } ;
8
8
use opentelemetry_sdk:: logs:: { LogBatch , LogExporter } ;
9
+ use std:: time;
9
10
use tokio:: sync:: Mutex ;
10
11
use tonic:: { codegen:: CompressionEncoding , service:: Interceptor , transport:: Channel , Request } ;
11
12
@@ -117,7 +118,7 @@ impl LogExporter for TonicLogsClient {
117
118
. await
118
119
}
119
120
120
- fn shutdown ( & self ) -> OTelSdkResult {
121
+ fn shutdown_with_timeout ( & self , _timeout : time :: Duration ) -> OTelSdkResult {
121
122
// TODO: Implement actual shutdown
122
123
// Due to the use of tokio::sync::Mutex to guard
123
124
// 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