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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: removed staleTime and cacheTime from query client level (#9124)
SagarRajput-7792d0f3db62f
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsxindex 7cb99ad076..25cfbfb5ab 100644--- a/frontend/src/index.tsx+++ b/frontend/src/index.tsx@@ -16,8 +16,6 @@ const queryClient = new QueryClient({defaultOptions: {queries: {refetchOnWindowFocus: false,- staleTime: 2 * 60 * 1000, // 2 minutes - data becomes stale after 2 minutes- cacheTime: 5 * 60 * 1000, // 5 minutes - cache entries are garbage collected after 5 minutesretry(failureCount, error): boolean {if (// in case of manually throwing errors please make sure to send error.response.statusdiff --git a/frontend/src/providers/Dashboard/Dashboard.tsx b/frontend/src/providers/Dashboard/Dashboard.tsxindex a51ac9439f..395858b77b 100644--- a/frontend/src/providers/Dashboard/Dashboard.tsx+++ b/frontend/src/providers/Dashboard/Dashboard.tsx@@ -269,7 +269,7 @@ export function DashboardProvider({return data;};const dashboardResponse = useQuery(- [REACT_QUERY_KEY.DASHBOARD_BY_ID, isDashboardPage?.params],+ [REACT_QUERY_KEY.DASHBOARD_BY_ID, dashboardId],{enabled: (!!isDashboardPage || !!isDashboardWidgetPage) && isLoggedIn,queryFn: async () => {