shutdownTracing

fun shutdownTracing(timeoutSeconds: Long = 5): CompletableResultCode?(source)

Shuts down the OpenTelemetry SDK.

Return

a CompletableResultCode indicating the result of the shutdown operation, or null if the OpenTelemetry SDK is not initialized.

Parameters

timeoutSeconds

maximum time to wait for shutdown, in seconds.