Skip to content

Conversation

dtbell91
Copy link
Contributor

I wanted to be able to add additional attributes at the end of a backgrounded span, so that outputs from whatever was run during the span could be included.

With this change, attributes which are defined at the start of the span are added to and overwritten by attributes supplied at the end of the span.

Copy link
Collaborator

@tobert tobert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, no notes. Thank you!

@tobert
Copy link
Collaborator

tobert commented Sep 13, 2023

OK one note: we should add a test in data_for_test.go to validate this behavior. This will prevent me from breaking it in the future :)

@tobert tobert merged commit 3bbb923 into equinix-labs:main Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants