Skip to content

feat(spanv2): Implement container version 2#5881

Merged
Dav1dde merged 3 commits into
masterfrom
dav1d/eap-ingest-settings
Apr 24, 2026
Merged

feat(spanv2): Implement container version 2#5881
Dav1dde merged 3 commits into
masterfrom
dav1d/eap-ingest-settings

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented Apr 22, 2026

Refs: #5869

Implements container version two for Spans: https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#version-and-ingest_settings-properties

Since the container attributes change how spans are normalized, I simplified the architecture of the spans processor to only allow a single type of span.
Mixing spans, was never officially supported just a "lucky" side-effect.
I plan on improving this code in #5882, for now I kept it kinda similar to the old (e.g. some outcomes).

@Dav1dde Dav1dde force-pushed the dav1d/eap-ingest-settings branch from 51d06a8 to f9c5277 Compare April 22, 2026 16:26
@Dav1dde Dav1dde self-assigned this Apr 23, 2026
@Dav1dde Dav1dde force-pushed the dav1d/eap-ingest-settings branch from f9c5277 to 7324ea0 Compare April 23, 2026 11:01
@Dav1dde Dav1dde marked this pull request as ready for review April 23, 2026 11:02
@Dav1dde Dav1dde requested a review from a team as a code owner April 23, 2026 11:02
Comment thread relay-server/src/processing/spans/process.rs
Comment thread relay-server/src/envelope/container.rs
@Dav1dde Dav1dde force-pushed the dav1d/eap-ingest-settings branch from 7324ea0 to 27007cc Compare April 23, 2026 11:14
@Dav1dde Dav1dde force-pushed the dav1d/eap-ingest-settings branch from 27007cc to 789a0dd Compare April 23, 2026 11:16
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 789a0dd. Configure here.

Comment thread relay-server/src/processing/spans/integrations/mod.rs
Comment thread relay-event-normalization/src/eap/mod.rs
Comment thread relay-event-normalization/src/eap/mod.rs
Comment thread relay-server/src/envelope/container.rs
Comment thread relay-server/src/processing/spans/process.rs
@Dav1dde Dav1dde added this pull request to the merge queue Apr 24, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 24, 2026
@Dav1dde Dav1dde added this pull request to the merge queue Apr 24, 2026
Merged via the queue into master with commit 30caa68 Apr 24, 2026
47 of 48 checks passed
@Dav1dde Dav1dde deleted the dav1d/eap-ingest-settings branch April 24, 2026 07:44
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