Skip to content

Commit a75d826

Browse files
authored
chore(starfish): Remove the count if query (#49097)
Remove the count_if, it's much slower than I anticipated, will add it back as a "regression" in a few hours
1 parent d209235 commit a75d826

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/sentry/api/endpoints/organization_events_starfish.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ def get(self, request: Request, organization) -> Response:
4646
referrer=referrer,
4747
)
4848

49-
metrics_enhanced_performance.query(
50-
selected_columns=["title", "count_if(mechanism,equals,ANR)"],
51-
query="event.type:transaction",
52-
params=params,
53-
snuba_params=snuba_params,
54-
limit=10000,
55-
referrer=referrer,
56-
)
49+
# metrics_enhanced_performance.query(
50+
# selected_columns=["title", "count_if(mechanism,equals,ANR)"],
51+
# query="event.type:transaction",
52+
# params=params,
53+
# snuba_params=snuba_params,
54+
# limit=10000,
55+
# referrer=referrer,
56+
# )
5757
except Exception:
5858
return Response(status=200)
5959

0 commit comments

Comments
 (0)