Skip to content

Commit 254c256

Browse files
DominikB2014iamrajjoshi
authored andcommitted
fix(insights): error rate rate should be sortable in queues module (#91481)
1 parent 96bdadb commit 254c256

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

static/app/views/insights/common/components/tableCells/renderHeadCell.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ const SORTABLE_FIELDS = new Set([
8888
'sum_if(span.duration,is_transaction,true)',
8989
'p75(measurements.frames_slow_rate)',
9090
'p75(measurements.frames_frozen_rate)',
91+
'trace_status_rate(ok)',
9192
]);
9293

9394
const NUMERIC_FIELDS = new Set([

static/app/views/insights/queues/components/tables/queuesTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ const SORTABLE_FIELDS = [
8989
'avg_if(span.duration,span.op,queue.process)',
9090
'avg(messaging.message.receive.latency)',
9191
`sum(span.duration)`,
92+
'trace_status_rate(ok)',
9293
] as const;
9394

9495
type ValidSort = Sort & {

static/app/views/insights/queues/components/tables/transactionsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ const SORTABLE_FIELDS = [
8888
'avg_if(span.duration,span.op,queue.process)',
8989
'avg(messaging.message.receive.latency)',
9090
`sum(span.duration)`,
91+
'trace_status_rate(ok)',
9192
] as const;
9293

9394
type ValidSort = Sort & {

0 commit comments

Comments
 (0)