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.

bug: sorting of date is fixed

Palash gupta28e8cffeaab9
diff --git a/frontend/src/container/Trace/TraceTable/index.tsx b/frontend/src/container/Trace/TraceTable/index.tsx
index ce6133a089..6eca783b60 100644
--- a/frontend/src/container/Trace/TraceTable/index.tsx
+++ b/frontend/src/container/Trace/TraceTable/index.tsx
@@ -45,7 +45,9 @@ const TraceTable = ({ getSpansAggregate }: TraceProps) => {
const day = dayjs(value);
return <div>{day.format('DD/MM/YYYY HH:MM:ss A')}</div>;
},
- sorter: (a, b) => dayjs(a.timestamp).diff(dayjs(b.timestamp)),
+ sorter: (a, b) =>
+ dayjs(a.timestamp).toDate().getTime() -
+ dayjs(b.timestamp).toDate().getTime(),
},
{
title: 'Service',