Skip to content

ref(transactions): Send extracted spans and profiles directly to store#6029

Open
Dav1dde wants to merge 3 commits into
masterfrom
dav1d/store-spans-from-transactions
Open

ref(transactions): Send extracted spans and profiles directly to store#6029
Dav1dde wants to merge 3 commits into
masterfrom
dav1d/store-spans-from-transactions

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented May 29, 2026

Instead of bolting extracted_spans onto the transaction, it is now modeled as a separate type with its own workflow and rate limiting. This simplifies control flow a bit, but it does make metric extraction slightly trickier (see comments in code).

This solves a longstanding issue where we serialized spans just to de-serialize them again in the store. This is also the first step to no longer sending envelopes to the store.

Also includes some tiny refactors moving files/structs around to make the code base easier to navigate.

Refs: INGEST-644

@Dav1dde Dav1dde requested a review from a team as a code owner May 29, 2026 10:43
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 29, 2026

INGEST-644

@Dav1dde Dav1dde changed the title ref(transactions): Send extracted spans directly to store ref(transactions): Send extracted spans and profiles directly to store May 29, 2026
@Dav1dde Dav1dde force-pushed the dav1d/store-spans-from-transactions branch 3 times, most recently from 5aff409 to 3b09a51 Compare May 29, 2026 10:51
Comment thread relay-server/src/processing/profiles/mod.rs
cursor[bot]

This comment was marked as outdated.

@Dav1dde Dav1dde force-pushed the dav1d/store-spans-from-transactions branch from 3b09a51 to 1b9a83d Compare May 29, 2026 11:07
@Dav1dde Dav1dde force-pushed the dav1d/store-spans-from-transactions branch from 1b9a83d to eaacc0f Compare May 29, 2026 11:09
Comment thread relay-server/src/processing/transactions/types/output.rs
Comment thread relay-server/src/processing/transactions/types/serialized.rs
Comment thread relay-server/src/processing/transactions/process.rs Outdated
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