Skip to content

Commit d896543

Browse files
authored
chore(explorer): reduce spans per trace to 1000 (#103010)
Reduce the max spans we fetch per transaction from 5000 to 1000. This should reduce bytes scanned, and for 99% of traces this has no effect.
1 parent 62e63f6 commit d896543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/seer/explorer/index_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def get_trace_for_transaction(transaction_name: str, project_id: int) -> TraceDa
189189
],
190190
orderby=["precise.start_ts"],
191191
offset=0,
192-
limit=5000,
192+
limit=1000,
193193
referrer=Referrer.SEER_RPC,
194194
config=config,
195195
sampling_mode="NORMAL",

0 commit comments

Comments
 (0)