Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

Fix: trace details bugfixes (#9116)

Shaheer Kochai24307b48ff86
diff --git a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
index 059c6cabdc..880125d84d 100644
--- a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.styles.scss
@@ -58,12 +58,16 @@
padding: 2px 8px;
align-items: center;
width: fit-content;
- max-width: calc(100% - 120px); /* Reserve space for action buttons */
+ max-width: 100%;
gap: 8px;
border-radius: 50px;
border: 1px solid var(--bg-slate-400);
background: var(--bg-slate-500);
+ .copy-wrapper {
+ overflow: hidden;
+ }
+
.item-value {
color: var(--bg-vanilla-400);
font-family: Inter;
diff --git a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.tsx b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.tsx
index 9ff49bcac5..e6a909d022 100644
--- a/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.tsx
+++ b/frontend/src/container/SpanDetailsDrawer/Attributes/Attributes.tsx
@@ -97,11 +97,13 @@ function Attributes(props: IAttributesProps): JSX.Element {
</div>
<div className="value-wrapper">
<Tooltip title={item.value}>
- <CopyClipboardHOC entityKey={item.value} textToCopy={item.value}>
- <Typography.Text className="item-value" ellipsis>
- {item.value}
- </Typography.Text>{' '}
- </CopyClipboardHOC>
+ <div className="copy-wrapper">
+ <CopyClipboardHOC entityKey={item.value} textToCopy={item.value}>
+ <Typography.Text className="item-value" ellipsis>
+ {item.value}
+ </Typography.Text>
+ </CopyClipboardHOC>
+ </div>
</Tooltip>
<AttributeActions
record={item}
diff --git a/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss b/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
index 9567c2edfa..54179aa26f 100644
--- a/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
+++ b/frontend/src/container/SpanDetailsDrawer/SpanDetailsDrawer.styles.scss
@@ -3,7 +3,7 @@
flex-direction: column;
height: calc(100vh - 44px); //44px -> trace details top bar
border-left: 1px solid var(--bg-slate-400);
- overflow-y: auto;
+ overflow-y: auto !important;
&:not(&-docked) {
min-width: 450px;
}
diff --git a/frontend/src/pages/TraceDetailV2/TraceDetailV2.tsx b/frontend/src/pages/TraceDetailV2/TraceDetailV2.tsx
index a146b97740..f813679ebd 100644
--- a/frontend/src/pages/TraceDetailV2/TraceDetailV2.tsx
+++ b/frontend/src/pages/TraceDetailV2/TraceDetailV2.tsx
@@ -127,7 +127,11 @@ function TraceDetailsV2(): JSX.Element {
];
return (
- <ResizablePanelGroup direction="horizontal" autoSaveId="trace-drawer">
+ <ResizablePanelGroup
+ direction="horizontal"
+ autoSaveId="trace-drawer"
+ className="trace-layout"
+ >
<ResizablePanel minSize={20} maxSize={80} className="trace-left-content">
<TraceMetadata
traceID={traceId}