From 682c237c5c2ff6b3311fa5ff7325880426a129bb Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Mon, 13 May 2024 16:19:01 -0400 Subject: [PATCH] chore(trace-explorer): Start passing breakdown slices to traces endpoint (#70804) Trying to refactor this endpoint. Going to be passing an integer number of slices instead of a floating point percentage of the trace for simplicity. The backend will quietly move to using this integer. --- static/app/views/performance/traces/content.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/static/app/views/performance/traces/content.tsx b/static/app/views/performance/traces/content.tsx index 7d9f7881c7b10c..946960a6341667 100644 --- a/static/app/views/performance/traces/content.tsx +++ b/static/app/views/performance/traces/content.tsx @@ -441,6 +441,7 @@ function useTraces({ suggestedQuery, sort, per_page: limit, + breakdownSlices: 40, minBreakdownPercentage: 1 / 40, maxSpansPerTrace: 5, mri,