You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In profiles, attributes are set with an AttributeTable at the profile level. Then, every internal object has an AttributeIndices attribute which holds references to the main table.
This means components need an additional step to modify the attributes (add, remove them). So we should provide an helper method to facilitate the action and make it efficient all the time.
Which would do a full replace of the attributes with a new map.
However, folks would have to first get the attributes and then update them to make a single update.
In profiles, attributes are set with an
AttributeTable
at the profile level. Then, every internal object has anAttributeIndices
attribute which holds references to the main table.This means components need an additional step to modify the attributes (add, remove them). So we should provide an helper method to facilitate the action and make it efficient all the time.
We could have something like:
Which would do a full replace of the attributes with a new map.
However, folks would have to first get the attributes and then update them to make a single update.
We could also have a single attribute add:
Related: #12176
cc @open-telemetry/profiling-approvers @open-telemetry/profiling-maintainers
The text was updated successfully, but these errors were encountered: