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
bug: in the error state bar panel is added
Palash guptadc737f385a75
diff --git a/frontend/src/container/GridGraphLayout/Graph/index.tsx b/frontend/src/container/GridGraphLayout/Graph/index.tsxindex 60a086befa..74ff7c8511 100644--- a/frontend/src/container/GridGraphLayout/Graph/index.tsx+++ b/frontend/src/container/GridGraphLayout/Graph/index.tsx@@ -23,7 +23,7 @@ import { Widgets } from 'types/api/dashboard/getAll';import Bar from './Bar';import FullView from './FullView';-import { Modal, FullViewContainer } from './styles';+import { Modal, FullViewContainer, ErrorContainer } from './styles';const GridCardGraph = ({widget,@@ -131,7 +131,17 @@ const GridCardGraph = ({}, [deleteWidget, widget, onToggleModal, isDeleted]);if (state.error) {- return <div>{state.errorMessage}</div>;+ return (+ <>+ <Bar+ onViewFullScreenHandler={(): void => onToggleModal(setModal)}+ widget={widget}+ onDeleteHandler={(): void => onToggleModal(setDeletModal)}+ />++ <ErrorContainer>{state.errorMessage}</ErrorContainer>+ </>+ );}if (state.loading === true || state.payload === undefined) {diff --git a/frontend/src/container/GridGraphLayout/Graph/styles.ts b/frontend/src/container/GridGraphLayout/Graph/styles.tsindex 61f4c7c9c9..7a5d9f1a62 100644--- a/frontend/src/container/GridGraphLayout/Graph/styles.ts+++ b/frontend/src/container/GridGraphLayout/Graph/styles.ts@@ -15,3 +15,9 @@ export const Modal = styled(ModalComponent)<Props>`export const FullViewContainer = styled.div`height: 70vh;`;++export const ErrorContainer = styled.div`+ margin-top: 2rem;+ padding-left: 2rem;+ padding-right: 2rem;+`;