Add ability to add timeout duration to shutdown #2574
Labels
A-common
Area:common issues that not related to specific pillar
help wanted
Good for taking. Extra help will be provided by maintainers/approvers
Milestone
All Providers have shutdown() method now, and it internally uses a hardcoded 5sec timeout to perform shutdown. (usually passed on to reader/processor/exporter).
Opening an issue to let user provide their own timeout.
Option1
Option2
I am inclined to do 2, as it keeps backward compatibility, and we can add this anytime, not necessarily before 1.0. But given https://github.com/open-telemetry/opentelemetry-rust/pull/2573/files and changes in this area, it'd be better to club them in together.
The text was updated successfully, but these errors were encountered: