Skip to content

feat(spans): Add option to skip enrichment per project in process-segments consumer#110736

Merged
vgrozdanic merged 1 commit intomasterfrom
feat/skip-enrichment-option-process-segments
Mar 16, 2026
Merged

feat(spans): Add option to skip enrichment per project in process-segments consumer#110736
vgrozdanic merged 1 commit intomasterfrom
feat/skip-enrichment-option-process-segments

Conversation

@vgrozdanic
Copy link
Member

@vgrozdanic vgrozdanic commented Mar 16, 2026

Add a new option spans.process-segments.skip-enrichment-projects (a list of project IDs) to the process-segments consumer. When a segment's project ID appears in this list, the consumer skips all enrichment — tree building, exclusive time, breakdowns, segment name normalization, model creation, performance detection, and signals — and passes spans through to the output topic as-is via make_compatible().

This is useful for testing how product behaves when enrichment is absent, without needing a separate code path or consumer deployment.

…ments consumer

Add a new option `spans.process-segments.skip-enrichment-projects` that
accepts a list of project IDs. When a segment's project ID is in the list,
the consumer skips all enrichment (tree building, exclusive time, breakdowns,
model creation, perf detection, signals) and passes spans through to the next
topic as-is. Useful for testing downstream behavior without enrichment.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 16, 2026
@vgrozdanic vgrozdanic marked this pull request as ready for review March 16, 2026 14:21
@vgrozdanic vgrozdanic requested review from a team as code owners March 16, 2026 14:21
@vgrozdanic vgrozdanic enabled auto-merge (squash) March 16, 2026 14:37
@vgrozdanic vgrozdanic merged commit 3c8a1b0 into master Mar 16, 2026
60 checks passed
@vgrozdanic vgrozdanic deleted the feat/skip-enrichment-option-process-segments branch March 16, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants