Libraries
    Preparing search index...

    Interface OtelHandle

    Handle returned by setupOtel for lifecycle management.

    interface OtelHandle {
        sdk: NodeSDK;
        shutdown(): Promise<void>;
    }
    Index

    Properties

    Methods

    Properties

    sdk: NodeSDK

    The underlying NodeSDK instance.

    Exposed for advanced use cases (custom span processors, runtime configuration). Most consumers do not need to touch this directly.

    Methods

    • 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.

      Returns Promise<void>