Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

[DO NOT MERGE] Exemplar: Refactor Attachment to be similar to Attribute. #1085

Closed

Conversation

songy23
Copy link
Contributor

@songy23 songy23 commented Mar 29, 2019

Created this PR for API discussion first.

Updated the exemplar APIs per #1075 (comment). Make the exemplar attachment more similar to trace attribute.


// Attachment is a key-value pair associated with a recorded example data point.
type Attachment struct {
Key string
Copy link
Contributor Author

@songy23 songy23 Mar 29, 2019

Choose a reason for hiding this comment

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

Key and Value have to be exposed because other packages (stats, exporters) need to access them.

@songy23 songy23 closed this Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant