OpenTelemetry SDK
    Preparing search index...

    Function mergeResourceAttributesConfig

    • Merge attributes from resource.attributes and resource.attributes_list (comma-separated key=value pairs) into an AttributeNameValue[] array. Entries already in resource.attributes taking precedence.

      Note: The returned array might not be a copy, so it should not be mutated.

      Parameters

      • Optionalattributes: AttributeNameValue[]
      • Optionalattributes_list: string | null

      Returns AttributeNameValue[] | undefined