Skip to content

Commit abfcfa8

Browse files
authored
fix(suspect-spans): Change default sort to total cumulative duration (#29606)
After some experimentation, the total cumulative duration metric seems to be a better metric in general for suspect spans. Switching to it as the default metric to use.
1 parent 7426229 commit abfcfa8

File tree

1 file changed

+1
-1
lines changed
  • static/app/views/performance/transactionSummary/transactionSpans

1 file changed

+1
-1
lines changed

static/app/views/performance/transactionSummary/transactionSpans/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const SPAN_SORT_OPTIONS: SpanSortOption[] = [
7272
},
7373
];
7474

75-
const DEFAULT_SORT = SpanSortPercentiles.P75_EXCLUSIVE_TIME;
75+
const DEFAULT_SORT = SpanSortOthers.SUM_EXCLUSIVE_TIME;
7676

7777
function getSuspectSpanSort(sort: string): SpanSortOption {
7878
const selected = SPAN_SORT_OPTIONS.find(option => option.field === sort);

0 commit comments

Comments
 (0)