setAttributes method
set multiple attributes
Implementation
@override
void setAttributes(List<api.Attribute> attributes) {
//Don't want to have any attribute
if (_limits.maxNumAttributes == 0) {
_droppedSpanAttributes += attributes.length;
return;
}
attributes.forEach(setAttribute);
}