OpenTelemetry SDK
    Preparing search index...

    Function resourceFromAttributes

    • Create a Resource from the given attributes object.

      Only simple attributes are supported: string, bool, number, and homogeneous arrays of these three scalar types. Complex attribute values will be dropped with a warning. (See OTEP 4485.)

      Parameters

      Returns Resource