OpenTelemetry SDK
    Preparing search index...

    Function getStringFromEnv

    • Retrieves a string from an environment variable.

      • Returns undefined if the environment variable is empty, unset, or contains only whitespace.

      Parameters

      • key: string

        The name of the environment variable to retrieve.

      Returns string | undefined

      • The string value or undefined.