Skip to content

Conversation

@mujtaba-ahmed12
Copy link
Contributor

No description provided.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 8, 2020

CLA Check
The committers are authorized under a signed CLA.

@lizthegrey
Copy link
Member

Sorry, new CLA bot so you'll have to reauthorize.

@MrAlias MrAlias linked an issue Jun 9, 2020 that may be closed by this pull request
@mujtaba-ahmed12 mujtaba-ahmed12 requested a review from jmacd June 14, 2020 18:57
Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

Breaking slice types apart by underlying type doesn't seem like a good approach.

  • Array values are no longer supported with this strategy.
  • The smaller more unified old constructor functions from a previous commit seemed to more universally handle user arrays/attributes.

It seems like there might be benefit to having a "getter" functions that could return a typed slice. Though I'm not 100% sure they are needed at this point (most of these key-values are just encoded to attributes as strings) and I think they could be implemented in the previous approach if needed.

Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

This is getting close. The only blocker is the question on on the AsArray function, otherwise minor things.

@MrAlias MrAlias self-requested a review June 22, 2020 18:32
Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

LGTM. Just comments need to be updated.

@MrAlias MrAlias merged commit 5be82c0 into open-telemetry:master Jun 24, 2020
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.

Support for array of span attributes

5 participants