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: error handling is updated in trace

Palash gupta80c0b5621d71
diff --git a/frontend/src/container/Trace/Graph/index.tsx b/frontend/src/container/Trace/Graph/index.tsx
index 179ff792de..56d2d310a9 100644
--- a/frontend/src/container/Trace/Graph/index.tsx
+++ b/frontend/src/container/Trace/Graph/index.tsx
@@ -34,7 +34,7 @@ function TraceGraph(): JSX.Element {
);
}
- if (loading || payload === undefined) {
+ if (loading) {
return (
<Container>
<Spinner height="20vh" size="small" tip="Loading..." />
diff --git a/frontend/src/store/actions/trace/getInitialFilter.ts b/frontend/src/store/actions/trace/getInitialFilter.ts
index fcc9c08b1c..ea6487d78e 100644
--- a/frontend/src/store/actions/trace/getInitialFilter.ts
+++ b/frontend/src/store/actions/trace/getInitialFilter.ts
@@ -7,6 +7,7 @@ import AppActions from 'types/actions';
import {
UPDATE_ALL_FILTERS,
UPDATE_TRACE_FILTER_LOADING,
+ UPDATE_TRACE_GRAPH_LOADING,
} from 'types/actions/trace';
import { GlobalReducer } from 'types/reducer/globalTime';
import { TraceFilterEnum, TraceReducer } from 'types/reducer/trace';
@@ -183,6 +184,12 @@ export const GetInitialTraceFilter = (
filterLoading: false,
},
});
+ dispatch({
+ type: UPDATE_TRACE_GRAPH_LOADING,
+ payload: {
+ loading: false,
+ },
+ });
} catch (error) {
console.log(error);
dispatch({
@@ -191,6 +198,12 @@ export const GetInitialTraceFilter = (
filterLoading: false,
},
});
+ dispatch({
+ type: UPDATE_TRACE_GRAPH_LOADING,
+ payload: {
+ loading: false,
+ },
+ });
}
};
};