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: [3958]: restrict dashboard api call on other pages (#4066)
Vikrant Guptae18bb7d5bc57
diff --git a/frontend/src/providers/Dashboard/Dashboard.tsx b/frontend/src/providers/Dashboard/Dashboard.tsxindex c5678c18f0..d9d3b8bdc3 100644--- a/frontend/src/providers/Dashboard/Dashboard.tsx+++ b/frontend/src/providers/Dashboard/Dashboard.tsx@@ -185,7 +185,12 @@ export function DashboardProvider({);useEffect(() => {- if (isVisible && updatedTimeRef.current) {+ // make the call on tab visibility only if the user is on dashboard / widget page+ if (+ isVisible &&+ updatedTimeRef.current &&+ (!!isDashboardPage || !!isDashboardWidgetPage)+ ) {dashboardResponse.refetch();}// eslint-disable-next-line react-hooks/exhaustive-deps