public function attributeAdded(Span $span, $attribute, $value)
    {
        // If the span is already attached (managed by the extension), then
        // tell the extension to add the attribute.
        if ($span->attached()) {
            $this->addAttribute($attribute, $value, [
                'span' => $span
            ]);
        }
    }