setAttributes

abstract fun setAttributes(attributes: Map<String, Any>): SpanBuilder

Set multiple attributes at once.