Skip to content

Commit 6415745

Browse files
authored
fix(suspect-spans): No aggregate conditions in examples query (#29522)
Carrying over the aggregate conditions from the suspect query into the examples query results in some weird behaviour. For example the `count():>1` condition will filter out all examples where the span only occurs once.
1 parent 6314cdc commit 6415745

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sentry/api/endpoints/organization_events_spans_performance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ def query_example_transactions(
288288
],
289289
query=query,
290290
orderby=get_function_alias(order_column),
291-
auto_aggregations=True,
292-
use_aggregate_conditions=True,
293291
# we want only `per_suspect` examples for each suspect
294292
limit=len(suspects) * per_suspect,
295293
functions_acl=["array_join", "sumArray", "percentileArray", "maxArray"],

0 commit comments

Comments
 (0)