Skip to content

Commit 5fe324c

Browse files
Abdkhan14Abdullah Khan
and
Abdullah Khan
authored
feat(new-trace): Allowing switching to indexed spans usage in old trace view. (#69067)
For testing only spans functionality in s4s. Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
1 parent 201efc1 commit 5fe324c

File tree

1 file changed

+2
-1
lines changed
  • static/app/views/performance/traceDetails

1 file changed

+2
-1
lines changed

static/app/views/performance/traceDetails/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class TraceSummary extends Component<Props> {
9797
const traceSlug = this.getTraceSlug();
9898
const {start, end, statsPeriod} = this.getDateSelection();
9999
const dateSelected = Boolean(statsPeriod || (start && end));
100+
const backend = decodeScalar(location.query.backend);
100101

101102
const content = ({
102103
isLoading,
@@ -147,7 +148,7 @@ class TraceSummary extends Component<Props> {
147148

148149
return (
149150
<TraceFullDetailedQuery
150-
type="detailed"
151+
type={backend === 'indexedSpans' ? 'spans' : 'detailed'}
151152
location={location}
152153
orgSlug={organization.slug}
153154
traceId={traceSlug}

0 commit comments

Comments
 (0)