Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle batch log processing in a dedicated background thread #2436

Merged
merged 13 commits into from
Dec 19, 2024
Merged
3 changes: 1 addition & 2 deletions opentelemetry-sdk/src/logs/log_emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@ impl Builder {
pub fn with_batch_exporter<T: LogExporter + 'static, R: RuntimeChannel>(
self,
exporter: T,
runtime: R,
) -> Self {
let batch = BatchLogProcessor::builder(exporter, runtime).build();
let batch = BatchLogProcessor::builder(exporter).build();
self.with_log_processor(batch)
}

Expand Down
Loading
Loading