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 table is fixed (#1208)

palash-signoz38c0bcf4ea68
diff --git a/frontend/src/container/Trace/TraceTable/index.tsx b/frontend/src/container/Trace/TraceTable/index.tsx
index 84ff7d3021..96fece7ba4 100644
--- a/frontend/src/container/Trace/TraceTable/index.tsx
+++ b/frontend/src/container/Trace/TraceTable/index.tsx
@@ -18,6 +18,7 @@ import {
UPDATE_SPANS_AGGREGATE_PAGE_SIZE,
} from 'types/actions/trace';
import { TraceReducer } from 'types/reducer/trace';
+import { v4 } from 'uuid';
dayjs.extend(duration);
@@ -131,8 +132,6 @@ function TraceTable(): JSX.Element {
const spanOrder = order === 'ascend' ? 'ascending' : 'descending';
const orderParam = getSortKey(sort.field as string);
- console.log({ spanOrder });
-
dispatch({
type: UPDATE_SPAN_ORDER,
payload: {
@@ -188,7 +187,7 @@ function TraceTable(): JSX.Element {
dataSource={spansAggregate.data}
loading={loading || filterLoading}
columns={columns}
- rowKey={(record): string => `${record.traceID}-${record.spanID}`}
+ rowKey={(record): string => `${record.traceID}-${record.spanID}-${v4()}`}
style={{
cursor: 'pointer',
}}