@tigorhutasuhut/telemetry-js - v0.7.3
    Preparing search index...

    Interface RuntimeAdapter

    A runtime-specific adapter that the SDK uses to wire up providers, processors, and exporters for a given environment.

    interface RuntimeAdapter {
        name: RuntimeName;
        detect(): boolean;
        setup(config: SDKConfig): SDKResult;
    }
    Index

    Properties

    Methods

    Properties

    Unique identifier for this runtime (e.g. "node").

    Methods

    • Return true if the current process is running in this runtime. Called during auto-detection when no explicit runtime is provided.

      Returns boolean