addAttribute

fun addAttribute(attribute: Attribute)(source)

Adds attribute to the span. Existing attribute with the same key is replaced.

Parameters

attribute

Attribute to add.