Skip to content

Conversation

whatyouhide
Copy link
Collaborator

Introducing the data structure.

Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

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

couple of comments, but looks fine and we can tweak later.

In general, I need to find out what the status of our 'only spans' project on the ingest side is. I'll get back to you after I find or make people write some up to date docs. Feel free to merge this.

tags: map(),
trace_id: String.t() | nil,
op: String.t(),
contexts: Interfaces.context(),
Copy link
Member

Choose a reason for hiding this comment

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

Spans do not have contexts themselves in the protocol, in some SDKs this is held on the Transaction object as a reference and then merged into the top level contexts on the event payload.
It depends on implementation if you want to also have this reference here or not.

spans: [t()],
status: String.t(),
data: map(),
fingerprint: [String.t()],
Copy link
Member

Choose a reason for hiding this comment

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

I don't see the fingerprint in the protocol either

@whatyouhide whatyouhide merged commit 5dde9b9 into master Jan 2, 2024
@whatyouhide whatyouhide deleted the al/spans-interface branch January 2, 2024 16:39
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