You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree with SimpleSpanProcessor::forceFlush(), but the conditional flush in BatchSpanProcessor::onEnd() seems critical to the batching functionality. Is the issue that we're using the forceFlush() mechanism not for its intended purpose?
The batching functionality doesn't depend on force-flushing; the batch processor should still call ::export() with the batch in ::onEnd(), just without calling ::forceFlush() afterwards.
ForceFlush SHOULD only be called in cases where it is absolutely necessary, such as when using some FaaS providers that may suspend the process after an invocation, but before the exporter exports the completed spans.
SimpleSpanProcessor::forceFlush()
has to force-flush exporterBatchSpanProcessor::onEnd()
shouldn't force-flush exporterThe text was updated successfully, but these errors were encountered: