set_attribute
Method
This is a method of the TraceContext class in the trace module.Set attribute on current span.
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
set_attribute: Set attribute on current span.
This is a method of the TraceContext class in the trace module.Set attribute on current span.
def set_attribute(&mut self, key: impl Into<String>, value: impl Serialize) -> ()