Browse Source

feat(new-trace): Removing duplicate db span descriptions (#82542)

<img width="566" alt="Screenshot 2024-12-23 at 2 41 23 PM"
src="https://github.com/user-attachments/assets/38221311-33e9-4e2d-8f2f-cf5405b642cb"
/>

Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
Abdullah Khan 2 months ago
parent
commit
a38418bc9e

+ 1 - 13
static/app/views/performance/newTraceDetails/traceDrawer/details/span/index.tsx

@@ -30,7 +30,7 @@ import {TraceDrawerComponents} from '.././styles';
 import {IssueList} from '../issues/issues';
 
 import Alerts from './sections/alerts';
-import {hasFormattedSpanDescription, SpanDescription} from './sections/description';
+import {SpanDescription} from './sections/description';
 import {GeneralInfo} from './sections/generalInfo';
 import {hasSpanHTTPInfo, SpanHTTPInfo} from './sections/http';
 import {hasSpanKeys, SpanKeys} from './sections/keys';
@@ -120,7 +120,6 @@ function LegacySpanNodeDetailHeader({
 
 function SpanSections({
   node,
-  project,
   organization,
   location,
   onParentClick,
@@ -137,7 +136,6 @@ function SpanSections({
     return (
       <LegacySpanSections
         node={node}
-        project={project}
         organization={organization}
         location={location}
         onParentClick={onParentClick}
@@ -171,7 +169,6 @@ function SpanSections({
 
 function LegacySpanSections({
   node,
-  project,
   organization,
   location,
   onParentClick,
@@ -180,18 +177,9 @@ function LegacySpanSections({
   node: TraceTreeNode<TraceTree.Span>;
   onParentClick: (node: TraceTreeNode<TraceTree.NodeValue>) => void;
   organization: Organization;
-  project: Project | undefined;
 }) {
   return (
     <TraceDrawerComponents.SectionCardGroup>
-      {hasFormattedSpanDescription(node) ? (
-        <SpanDescription
-          node={node}
-          project={project}
-          organization={organization}
-          location={location}
-        />
-      ) : null}
       <GeneralInfo
         node={node}
         organization={organization}