Add/Edit Attribute
// Add custom attributes to an existing trace
trace?.setAttributeWithKey("key", value: "value")// Add custom attributes to an existing trace
[trace setAttributeWithKey:@"key" value:@"value"];// Add custom attributes to an existing trace
trace.setAttribute("key", "value");// Add custom attributes to an existing trace
trace?.setAttribute("key", "value")// Add custom attributes to an existing trace
trace.setAttribute('key', 'value')// Add custom attributes to an existing trace
trace.setAttribute('key', 'value')Last updated