Handle returned by setupOtel for lifecycle management.
The underlying NodeSDK instance.
NodeSDK
Exposed for advanced use cases (custom span processors, runtime configuration). Most consumers do not need to touch this directly.
Gracefully flushes and shuts down all exporters.
Idempotent — safe to call multiple times. Should be invoked from your process's shutdown hook (SIGTERM/SIGINT) before process.exit.
SIGTERM
SIGINT
process.exit
Handle returned by setupOtel for lifecycle management.