Skip to content

Commit e3633e7

Browse files
mohammadVatandoostlalitbcijothomas
authored
feat: add-shutdown-with-timeout-for-log-provider-and-processor (open-telemetry#2941)
Co-authored-by: Lalit Kumar Bhasin <[email protected]> Co-authored-by: Cijo Thomas <[email protected]>
1 parent ea20afc commit e3633e7

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

benches/log-attributes.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ impl LogProcessor for NoopProcessor {
4343
fn force_flush(&self) -> OTelSdkResult {
4444
Ok(())
4545
}
46-
47-
fn shutdown(&self) -> OTelSdkResult {
48-
Ok(())
49-
}
5046
}
5147

5248
/// Creates a single benchmark for a specific number of attributes

benches/logs.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ impl LogProcessor for NoopProcessor {
5454
Ok(())
5555
}
5656

57-
fn shutdown(&self) -> OTelSdkResult {
58-
Ok(())
59-
}
60-
6157
fn event_enabled(
6258
&self,
6359
_level: opentelemetry::logs::Severity,

src/layer.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,6 @@ mod tests {
877877
fn force_flush(&self) -> OTelSdkResult {
878878
Ok(())
879879
}
880-
881-
fn shutdown(&self) -> OTelSdkResult {
882-
Ok(())
883-
}
884880
}
885881

886882
#[cfg(feature = "spec_unstable_logs_enabled")]

0 commit comments

Comments
 (0)