-
Notifications
You must be signed in to change notification settings - Fork 437
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
[Logs] Initial draft to handle batch export into background thread #2096
base: main
Are you sure you want to change the base?
[Logs] Initial draft to handle batch export into background thread #2096
Conversation
See https://github.com/open-telemetry/opentelemetry-rust/compare/main...lalitb:thread-runtime?expand=1 also to get some ideas about solving same/similar problems. |
// Either::Left((export_res, _)) => export_res, | ||
// Either::Right((_, _)) => ExportResult::Err(LogError::ExportTimedOut(time_out)), | ||
// } | ||
ExportResult::Ok(()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, we are expecting export method to complete in a definite time-period, and we are not handling timeout outside of export method ? any reason why it is so ?
Fixes #2066
Changes
This is an early draft which implements the proposal mentioned in #2066, and looking for feedback.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes