File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
opentelemetry-otlp/src/exporter/tonic Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ impl LogExporter for TonicLogsClient {
8686
8787 fn shutdown ( & self ) -> OTelSdkResult {
8888 // TODO: Implement actual shutdown
89- // Due to the use to tokio::sync::Mutex to guard
90- // the inner client, we need to lock the mutex
89+ // Due to the use of tokio::sync::Mutex to guard
90+ // the inner client, we need to await the call to lock the mutex
9191 // and that requires async runtime.
9292 // It is possible to fix this by using
9393 // a dedicated thread just to handle shutdown.
Original file line number Diff line number Diff line change 6161 `scope ` name but instead passes the incoming `name ` when invoking
6262 `event_enabled ` on processors .
6363- * * Breaking ** for custom LogExporter authors : `shutdown ()` method in
64- `LogExporter ` trait no longer requires a mutable ref to self . If the exporter
64+ `LogExporter ` trait no longer requires a mutable ref to ` self ` . If the exporter
6565 needs to mutate state , it should rely on interior mutability .
6666 [2764 ](https : // github.com/open-telemetry/opentelemetry-rust/pull/2764)
6767
You can’t perform that action at this time.
0 commit comments