flushTraces
Forces flushing of any pending spans to their respective exporters.
Return
a CompletableResultCode indicating the result of the flush operation, or null if the OpenTelemetry SDK is not initialized.
Parameters
timeoutSeconds
maximum time to wait for flushing, in seconds.