Skip to content

ref(telemetry): remove low-value set_from_clause spans#8084

Open
sentry[bot] wants to merge 1 commit into
masterfrom
seer/ref-remove-low-value-spans
Open

ref(telemetry): remove low-value set_from_clause spans#8084
sentry[bot] wants to merge 1 commit into
masterfrom
seer/ref-remove-low-value-spans

Conversation

@sentry

@sentry sentry Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The issue SNUBA-B38 identified the build_plan.storage_query_plan_builder / set_from_clause span as low-value telemetry. This span was manually instrumented around a trivial, in-memory set_from_clause operation in snuba/datasets/plans/storage_processing.py and snuba/datasets/plans/entity_processing.py.

Because this operation is very fast and occurs on almost every query, the span generated high-volume, low-value telemetry, contributing to noise without providing useful diagnostic information. This change removes these specific sentry_sdk.start_span wrappers, eliminating the noisy telemetry while preserving the underlying query-building logic.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Fixes SNUBA-B38

@sentry sentry Bot requested a review from a team as a code owner June 22, 2026 09:06
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.

0 participants