shutdown() during process exit (or on hot-reload teardown in long-running services) to ensure pending telemetry is flushed and resources are not leaked. After shutdown(), the same SDK instance is no longer usable — create a new instance if you need to reconnect.
Parameters
This method takes no parameters.Returns
ReturnsNone.
Example
Raises
No method-specific exceptions; see Error Codes for the general SDK exception hierarchy.See also
- initialize — the matching startup call.
- configure — adjust SDK options before startup.