setShutdownOnAgentClose

expect open override fun setShutdownOnAgentClose(shutdownOnAgentClose: Boolean)(source)

Toggles whether OpenTelemetryPlatform.shutdown runs when the agent closes. See isShutdownOnAgentClose.

Parameters

shutdownOnAgentClose

When true, the feature shuts down its SDK when the agent closes.