Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spans): Add a measurements field to span protocol #2792

Merged
merged 6 commits into from
Nov 29, 2023

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Nov 29, 2023

As we move towards standalone span ingestion, we need to support passing measurements to spans directly. This change will allow us to receive measurements when ingesting a span.

The side-effect is spans in transactions will also be able to ingest measurements but they won't be used in the product.

@phacops phacops requested a review from a team November 29, 2023 15:42
Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

LGTM, wanna extend the serialization test at the bottom of this file with some measurements?

As discussed, let's get buy in from SDK teams before merging this.

relay-event-schema/src/protocol/span.rs Show resolved Hide resolved
relay-event-schema/src/protocol/span.rs Outdated Show resolved Hide resolved
@phacops
Copy link
Contributor Author

phacops commented Nov 29, 2023

TSC said OK for the Relay part but want to see an RFC in case it's made into a public API. It's not the plan yet so we can go ahead and merge this.

@phacops phacops merged commit e86aa02 into master Nov 29, 2023
20 checks passed
@phacops phacops deleted the pierre/spans-add-measurements-field branch November 29, 2023 18:35
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