setAttribute

open override fun setAttribute(key: String, value: String): NoOpSpanBuilder

Set a string attribute on the span.


open override fun setAttribute(key: String, value: Long): NoOpSpanBuilder

Set a long attribute on the span.


open override fun setAttribute(key: String, value: Double): NoOpSpanBuilder

Set a double attribute on the span.


open override fun setAttribute(key: String, value: Boolean): NoOpSpanBuilder

Set a boolean attribute on the span.