Why do we enforce a `forceFlush` method on Tracer?
fabianfett opened this issue · 1 comments
fabianfett commented
Currently we enforce a forceFlush
method on Tracer? The TracingSystem never calls this? Why do we enforce it then?
ktoso commented
In order to allow otel implementations to do this: https://opentelemetry.io/docs/reference/specification/trace/sdk/#forceflush
You may want to force flush on a tracer before you shutdown your process; it matters for graceful shutdown scenarios. We'll be keeping it.