OpenTelemetry SDK
    Preparing search index...

    Interface ConfigProviderExperimental

    This feature is in development as per the OpenTelemetry specification.

    Provides access to declarative instrumentation configuration. An SDK builds a provider from a parsed config file and registers it globally; instrumentations read their config from it. The global default is a no-op yielding empty configuration.

    Index
    • Experimental

      Returns the config for a single instrumentation (instrumentation/development.js.<name>), or an empty accessor when absent.

      Parameters

      • name: string

        the instrumentation scope name (often the npm package name)

      Returns ConfigProperties

    • Experimental

      Returns the whole instrumentation/development node, or an empty accessor when absent. Instrumentation code should rarely need this; prefer getInstrumentationConfig(name) and getGeneralInstrumentationConfig().

      Returns ConfigProperties