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: added fix for jerky chart change on panel switch (#10360)
Abhi kumar22099962bec0
diff --git a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphContainer.tsx b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphContainer.tsxindex 86982b13d6..e6f749d15a 100644--- a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphContainer.tsx+++ b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphContainer.tsx@@ -51,28 +51,6 @@ function WidgetGraphContainer({return <Spinner size="large" tip="Loading..." />;}- if (- selectedGraph !== PANEL_TYPES.LIST &&- selectedGraph !== PANEL_TYPES.VALUE &&- queryResponse.data?.payload.data?.result?.length === 0- ) {- return (- <NotFoundContainer>- <Typography>No Data</Typography>- </NotFoundContainer>- );- }- if (- (selectedGraph === PANEL_TYPES.LIST || selectedGraph === PANEL_TYPES.VALUE) &&- queryResponse.data?.payload?.data?.newResult?.data?.result?.length === 0- ) {- return (- <NotFoundContainer>- <Typography>No Data</Typography>- </NotFoundContainer>- );- }-if (queryResponse.isIdle) {return (<NotFoundContainer>diff --git a/frontend/src/container/PanelWrapper/PanelWrapper.tsx b/frontend/src/container/PanelWrapper/PanelWrapper.tsxindex 81e8784414..d12ddd87ba 100644--- a/frontend/src/container/PanelWrapper/PanelWrapper.tsx+++ b/frontend/src/container/PanelWrapper/PanelWrapper.tsx@@ -1,4 +1,5 @@import { FC } from 'react';+import Spinner from 'components/Spinner';import { PanelTypeVsPanelWrapper } from './constants';import { PanelWrapperProps } from './panelWrapper.types';@@ -32,6 +33,11 @@ function PanelWrapper({// eslint-disable-next-line react/jsx-no-useless-fragmentreturn <></>;}++ if (queryResponse.isFetching || queryResponse.isLoading) {+ return <Spinner height="100%" size="large" tip="Loading..." />;+ }+return (<ComponentpanelMode={panelMode}