-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update resource merge behaviour (#537)
The resource merge behaviour changed 3 months ago to be consistent with Span.SetAttribute. It now specifies: > The resulting resource MUST have all attributes that are on any of the > two input resources. If a key exists on both the old and updating > resource, the value of the updating resource MUST be picked (even if > the updated value is empty). This updates sdk::Resource::merge to behave as described in the spec.
- Loading branch information
Showing
1 changed file
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters