Trace/src/AttributeTrait.php
public function addAttributes(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            $this->addAttribute($key, $value);
        }
    }
public function addAttributes(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            $this->addAttribute($key, $value);
        }
    }
public function addAttributes ( array $ attributes ) { foreach ( $ attributes as $ key => $ value ) { $ this -> addAttribute ( $ key , $ value ) ; } }
Attach labels to this span.

@param array $labels Labels in the form of $label => $value
Attach labels to this span .