Skip to content

Commit 2e2802d

Browse files
committed
nuke linked transactions
1 parent bbbe70d commit 2e2802d

File tree

1 file changed

+0
-46
lines changed
  • src/sentry/static/sentry/app/components/events/interfaces/spans

1 file changed

+0
-46
lines changed

src/sentry/static/sentry/app/components/events/interfaces/spans/spanDetail.tsx

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ class SpanDetail extends React.Component<Props, State> {
130130
<Row title="Span ID" extra={this.renderTraversalButton()}>
131131
{span.span_id}
132132
</Row>
133-
<LinkedTransactionsList
134-
results={this.state.transactionResults}
135-
orgId={orgId}
136-
eventView={eventView}
137-
/>
138133
<Row title="Trace ID">{span.trace_id}</Row>
139134
<Row title="Parent Span ID">{span.parent_span_id || ''}</Row>
140135
<Row title="Description">{get(span, 'description', '')}</Row>
@@ -215,47 +210,6 @@ const Row = ({
215210
);
216211
};
217212

218-
const LinkedTransactionsList = (props: {
219-
results?: TransactionResult[];
220-
orgId: string;
221-
eventView: EventView;
222-
}) => {
223-
const {results, orgId, eventView} = props;
224-
225-
if (!results || !Array.isArray(results) || results.length <= 0) {
226-
return null;
227-
}
228-
229-
const list = results.map(result => {
230-
const parentTransactionLink = generateEventDetailsRoute({
231-
eventSlug: generateSlug(result),
232-
orgSlug: orgId,
233-
});
234-
235-
const to = {
236-
pathname: parentTransactionLink,
237-
query: eventView.generateQueryStringObject(),
238-
};
239-
240-
return (
241-
<div key={result.id}>
242-
<PreValue className="val">
243-
<Link key={result.id} to={to}>
244-
{`${result['trace.span']} - ${result.transaction}`}
245-
</Link>
246-
</PreValue>
247-
</div>
248-
);
249-
});
250-
251-
return (
252-
<tr>
253-
<td className="key">Linked transactions</td>
254-
<td className="value">{list}</td>
255-
</tr>
256-
);
257-
};
258-
259213
const Tags = ({span}: {span: SpanType}) => {
260214
const tags: {[tag_name: string]: string} | undefined = get(span, 'tags');
261215

0 commit comments

Comments
 (0)