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: getNanoTimestamp function and cache fix (#1737)

Vishal Sharma1273bb5865f3
diff --git a/frontend/src/container/AllError/utils.ts b/frontend/src/container/AllError/utils.ts
index 239d404b1c..aae242ffa0 100644
--- a/frontend/src/container/AllError/utils.ts
+++ b/frontend/src/container/AllError/utils.ts
@@ -77,7 +77,7 @@ export const getDefaultOrder = (
export const getNanoSeconds = (date: string): string => {
return (
Math.floor(new Date(date).getTime() / 1e3).toString() +
- Timestamp.fromString(date).getNano().toString()
+ String(Timestamp.fromString(date).getNano().toString()).padStart(9, '0')
);
};
diff --git a/frontend/src/container/TopNav/Breadcrumbs/index.tsx b/frontend/src/container/TopNav/Breadcrumbs/index.tsx
index bc839d407c..a4ada700d5 100644
--- a/frontend/src/container/TopNav/Breadcrumbs/index.tsx
+++ b/frontend/src/container/TopNav/Breadcrumbs/index.tsx
@@ -15,7 +15,7 @@ const breadcrumbNameMap = {
[ROUTES.VERSION]: 'Status',
[ROUTES.ORG_SETTINGS]: 'Organization Settings',
[ROUTES.MY_SETTINGS]: 'My Settings',
- [ROUTES.ERROR_DETAIL]: 'Errors',
+ [ROUTES.ERROR_DETAIL]: 'Exceptions',
[ROUTES.LIST_ALL_ALERT]: 'Alerts',
[ROUTES.ALL_DASHBOARD]: 'Dashboard',
[ROUTES.LOGS]: 'Logs',
diff --git a/frontend/src/pages/ErrorDetails/index.tsx b/frontend/src/pages/ErrorDetails/index.tsx
index 348391b741..94bd8e248e 100644
--- a/frontend/src/pages/ErrorDetails/index.tsx
+++ b/frontend/src/pages/ErrorDetails/index.tsx
@@ -48,7 +48,7 @@ function ErrorDetails(): JSX.Element {
},
);
- const { data, status } = useQuery([maxTime, minTime, groupId], {
+ const { data, status } = useQuery([maxTime, minTime, groupId, errorId], {
queryFn: () =>
getByErrorType({
groupID: groupId || '',